You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by "fanxinpu@travelsky.com" <fa...@travelsky.com> on 2016/04/11 10:52:27 UTC

to remove the kill button in storm ui

user,您好:

Hi,

Any one  can help me?

I would like to disable the "kill" button  in the storm UI. My storm version is 0.9.2.

I tried to revise the topologyActions staff in the src/ui/topology.html, it turned out to be no use.
I tried to revise the topology-actions-template staff in the src/ui/template/topology-page-template.html, it turned out to be no use.
I tried to revise the confirmAction staff in the src/ui/js/script.js, it turned out to be no use.
I tried to revise the main-routes staff in the src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is weird that there is a button which does nothing when being clicked.

So, is there a way to remove just the button in the topology-page in the UI?



范新普

中国民航信息网络股份有限公司
研发中心  数据服务部
地址:北京市朝阳区天辰东路7号国家会议中心北区七层



Re: Re: to remove the kill button in storm ui

Posted by Abhishek Agarwal <ab...@gmail.com>.
I am working on that as part of
https://issues.apache.org/jira/browse/STORM-1514. Will update on this
thread once I have something ready.

On Mon, Apr 11, 2016 at 3:22 PM, Edwin Liu <en...@gmail.com> wrote:

> it should work, tried to view the  page(topology-page-template.html)
> directly on the browser , and if it does not work well again , tried to
> clear browser cache
>
> 2016-04-11 17:34 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>
> :
>
>> Hi, Edwin
>>
>> Thank you for your reply.
>> I have tried that way, but it is useless.
>>
>>
>> ------------------------------
>> 范新普
>>
>> 中国民航信息网络股份有限公司
>> 研发中心  数据服务部
>> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>>
>>
>>
>> *From:* Edwin Liu <en...@gmail.com>
>> *Date:* 2016-04-11 17:14
>> *To:* user <us...@storm.apache.org>
>> *Subject:* Re: to remove the kill button in storm ui
>> try this way:
>>
>> tried to change topology-page-template.html
>>
>> try to comment the line
>>
>> <input {{killStatus}} onclick="confirmAction('{{encodedId}}',
>> '{{name}}', 'kill', true, 30, 'wait time in seconds')" type="button"
>> value="Kill" class="btn btn-default">
>>
>>
>>
>> 2016-04-11 16:52 GMT+08:00 fanxinpu@travelsky.com <fanxinpu@travelsky.com
>> >:
>>
>>> user,您好:
>>>
>>> Hi,
>>>
>>> Any one  can help me?
>>>
>>> I would like to disable the "kill" button  in the storm UI. My storm
>>> version is 0.9.2.
>>>
>>> I tried to revise the topologyActions staff in the src/ui/topology.html,
>>> it turned out to be no use.
>>> I tried to revise the topology-actions-template staff in the
>>> src/ui/template/topology-page-template.html, it turned out to be no use.
>>> I tried to revise the confirmAction staff in the src/ui/js/script.js, it
>>> turned out to be no use.
>>> I tried to revise the main-routes staff in the
>>> src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is
>>> weird that there is a button which does nothing when being clicked.
>>>
>>> So, is there a way to remove just the button in the topology-page in the
>>> UI?
>>>
>>> ------------------------------
>>> 范新普
>>>
>>> 中国民航信息网络股份有限公司
>>> 研发中心  数据服务部
>>> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>>>
>>>
>>>
>>
>


-- 
Regards,
Abhishek Agarwal

Re: Re: to remove the kill button in storm ui

Posted by "fanxinpu@travelsky.com" <fa...@travelsky.com>.
Hi Edwin

Did you ever succeed by this way?

I tried again, and open the ui in a clean browser, it does not work.




it should work, tried to view the  page(topology-page-template.html) directly on the browser , and if it does not work well again , tried to clear browser cache 

2016-04-11 17:34 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>:
Hi, Edwin

Thank you for your reply.
I have tried that way, but it is useless.




范新普

中国民航信息网络股份有限公司
研发中心  数据服务部
地址:北京市朝阳区天辰东路7号国家会议中心北区七层


 
From: Edwin Liu
Date: 2016-04-11 17:14
To: user
Subject: Re: to remove the kill button in storm ui
try this way:

tried to change topology-page-template.html

try to comment the line 

<input {{killStatus}} onclick="confirmAction('{{encodedId}}', '{{name}}', 'kill', true, 30, 'wait time in seconds')" type="button" value="Kill" class="btn btn-default">



2016-04-11 16:52 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>:
user,您好:

Hi,

Any one  can help me?

I would like to disable the "kill" button  in the storm UI. My storm version is 0.9.2.

I tried to revise the topologyActions staff in the src/ui/topology.html, it turned out to be no use.
I tried to revise the topology-actions-template staff in the src/ui/template/topology-page-template.html, it turned out to be no use.
I tried to revise the confirmAction staff in the src/ui/js/script.js, it turned out to be no use.
I tried to revise the main-routes staff in the src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is weird that there is a button which does nothing when being clicked.

So, is there a way to remove just the button in the topology-page in the UI?



范新普

中国民航信息网络股份有限公司
研发中心  数据服务部
地址:北京市朝阳区天辰东路7号国家会议中心北区七层





Re: Re: to remove the kill button in storm ui

Posted by Edwin Liu <en...@gmail.com>.
it should work, tried to view the  page(topology-page-template.html)
directly on the browser , and if it does not work well again , tried to
clear browser cache

2016-04-11 17:34 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>:

> Hi, Edwin
>
> Thank you for your reply.
> I have tried that way, but it is useless.
>
>
> ------------------------------
> 范新普
>
> 中国民航信息网络股份有限公司
> 研发中心  数据服务部
> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>
>
>
> *From:* Edwin Liu <en...@gmail.com>
> *Date:* 2016-04-11 17:14
> *To:* user <us...@storm.apache.org>
> *Subject:* Re: to remove the kill button in storm ui
> try this way:
>
> tried to change topology-page-template.html
>
> try to comment the line
>
> <input {{killStatus}} onclick="confirmAction('{{encodedId}}', '{{name}}',
> 'kill', true, 30, 'wait time in seconds')" type="button" value="Kill"
> class="btn btn-default">
>
>
>
> 2016-04-11 16:52 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>
> :
>
>> user,您好:
>>
>> Hi,
>>
>> Any one  can help me?
>>
>> I would like to disable the "kill" button  in the storm UI. My storm
>> version is 0.9.2.
>>
>> I tried to revise the topologyActions staff in the src/ui/topology.html,
>> it turned out to be no use.
>> I tried to revise the topology-actions-template staff in the
>> src/ui/template/topology-page-template.html, it turned out to be no use.
>> I tried to revise the confirmAction staff in the src/ui/js/script.js, it
>> turned out to be no use.
>> I tried to revise the main-routes staff in the
>> src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is
>> weird that there is a button which does nothing when being clicked.
>>
>> So, is there a way to remove just the button in the topology-page in the
>> UI?
>>
>> ------------------------------
>> 范新普
>>
>> 中国民航信息网络股份有限公司
>> 研发中心  数据服务部
>> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>>
>>
>>
>

Re: Re: to remove the kill button in storm ui

Posted by "fanxinpu@travelsky.com" <fa...@travelsky.com>.
Hi, Edwin

Thank you for your reply.
I have tried that way, but it is useless.




范新普

中国民航信息网络股份有限公司
研发中心  数据服务部
地址:北京市朝阳区天辰东路7号国家会议中心北区七层


 
From: Edwin Liu
Date: 2016-04-11 17:14
To: user
Subject: Re: to remove the kill button in storm ui
try this way:

tried to change topology-page-template.html

try to comment the line 

<input {{killStatus}} onclick="confirmAction('{{encodedId}}', '{{name}}', 'kill', true, 30, 'wait time in seconds')" type="button" value="Kill" class="btn btn-default">



2016-04-11 16:52 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>:
user,您好:

Hi,

Any one  can help me?

I would like to disable the "kill" button  in the storm UI. My storm version is 0.9.2.

I tried to revise the topologyActions staff in the src/ui/topology.html, it turned out to be no use.
I tried to revise the topology-actions-template staff in the src/ui/template/topology-page-template.html, it turned out to be no use.
I tried to revise the confirmAction staff in the src/ui/js/script.js, it turned out to be no use.
I tried to revise the main-routes staff in the src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is weird that there is a button which does nothing when being clicked.

So, is there a way to remove just the button in the topology-page in the UI?



范新普

中国民航信息网络股份有限公司
研发中心  数据服务部
地址:北京市朝阳区天辰东路7号国家会议中心北区七层




Re: to remove the kill button in storm ui

Posted by Edwin Liu <en...@gmail.com>.
try this way:

tried to change topology-page-template.html

try to comment the line

<input {{killStatus}} onclick="confirmAction('{{encodedId}}', '{{name}}',
'kill', true, 30, 'wait time in seconds')" type="button" value="Kill" class=
"btn btn-default">



2016-04-11 16:52 GMT+08:00 fanxinpu@travelsky.com <fa...@travelsky.com>:

> user,您好:
>
> Hi,
>
> Any one  can help me?
>
> I would like to disable the "kill" button  in the storm UI. My storm
> version is 0.9.2.
>
> I tried to revise the topologyActions staff in the src/ui/topology.html,
> it turned out to be no use.
> I tried to revise the topology-actions-template staff in the
> src/ui/template/topology-page-template.html, it turned out to be no use.
> I tried to revise the confirmAction staff in the src/ui/js/script.js, it
> turned out to be no use.
> I tried to revise the main-routes staff in the
> src/clj/backtype/storm/ui/core.clj, it turned out to be  useful. But it is
> weird that there is a button which does nothing when being clicked.
>
> So, is there a way to remove just the button in the topology-page in the
> UI?
>
> ------------------------------
> 范新普
>
> 中国民航信息网络股份有限公司
> 研发中心  数据服务部
> 地址:北京市朝阳区天辰东路7号国家会议中心北区七层
>
>
>