[GitHub] eagle pull request #924: Add license on service.sdl

2017-04-19 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/924

Add license on service.sdl

Add license on service.sdl, avoid using exclude.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle master3

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/924.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #924


commit d5f9663d16a79047162acf31f05923ee10abe493
Author: chitin 
Date:   2017-04-19T08:29:02Z

Add license on service.sdl




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #921: [MINOR]Add license and exclude file end with sdl.

2017-04-18 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/921

[MINOR]Add license and exclude file end with sdl.

Add license and exclude file end with sdl.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle fix998

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/921.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #921


commit 5391c08078fc5c8b62b635d0739f1de7e2f12664
Author: chitin 
Date:   2017-04-18T09:22:26Z

Add license and exclude file end with sdl.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #908: [EAGLE-998]Add eagle csd

2017-04-17 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/908#discussion_r111864052
  
--- Diff: eagle-external/eagle-cdh/src/aux/eagle-server.sh ---
@@ -0,0 +1,135 @@
+#!/bin/bash
--- End diff --

Thank you very much for your review. I have used it in my company for a 
long time.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #908: [EAGLE-998]Add eagle csd

2017-04-17 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/908#discussion_r111857583
  
--- Diff: eagle-external/eagle-cdh/src/aux/eagle-server.sh ---
@@ -0,0 +1,135 @@
+#!/bin/bash
--- End diff --

Ok,I'll remove eagle-server.sh,it's very detailed code. And 
eagle.properties, please review 
https://github.com/apache/eagle/pull/908/files#diff-712f093104224c501339f2117db3b849R764
 .


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #908: [EAGLE-998]Add eagle csd

2017-04-17 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/908#discussion_r111853964
  
--- Diff: eagle-external/eagle-cdh/src/aux/eagle-server.sh ---
@@ -0,0 +1,135 @@
+#!/bin/bash
--- End diff --

Yes,it's in different format than eagle.conf, one is json file and another 
is key-value file. Please search eagle.properties in descriptor/service.sdl. 
Maybe, I can delete eagle_server.sh, and mention the change in README.md.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #908: [EAGLE-998]Add eagle csd

2017-04-17 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/908#discussion_r111723827
  
--- Diff: eagle-external/eagle-cdh/src/aux/eagle-server.sh ---
@@ -0,0 +1,135 @@
+#!/bin/bash
--- End diff --

Thanks for your review. As I mentioned in /scripts/control.sh,"Use 
eagle.properties instead of eagle.conf, configFormat only support 
hadoop_xml,properties,gflags", CSD can't generate file end with ".conf", I 
can't find out better method to replace.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #908: [EAGLE-998]Add eagle csd

2017-04-10 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/908

[EAGLE-998]Add eagle csd

Add eagle csd
https://issues.apache.org/jira/browse/EAGLE-998

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eaglecdh

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/908.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #908


commit d98432fa5e9856fee6146ec2b4447c3fb9983ecd
Author: chitin 
Date:   2017-04-10T09:09:08Z

[EAGLE-998]Add eagle csd




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #904: [MINOR][DOC]Add oozie applicaton installation doc

2017-04-04 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/904

[MINOR][DOC]Add oozie applicaton installation doc



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle oozie-doc

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/904.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #904


commit 532f035fd8ab0a9a6b330d1a9165041321915757
Author: chitin 
Date:   2017-04-05T03:17:30Z

[MINOR][DOC]Add oozie applicaton installation doc.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #890: [MINOR] Fix regionserver,datanode dashboard datetim...

2017-03-21 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/890

[MINOR] Fix regionserver,datanode dashboard datetime picker exception



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle datetimepicker

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/890.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #890


commit a0ed88721344e0be57f1dc3f5841c9906f9a2f37
Author: chitin 
Date:   2017-03-21T07:27:31Z

[MINOR] Fix regionserver,datanode dashboard datetime picker exception




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #878: [MINOR] Add analysis_jobs, analysis_email metadata ...

2017-03-16 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/878

[MINOR] Add analysis_jobs, analysis_email metadata into metadata-ddl file



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle sqlfix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/878.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #878


commit 48b04b16ab06b571b816abab3e91aa4dd25264db
Author: chitin 
Date:   2017-03-16T07:12:02Z

[MINOR] Add analysis_jobs, analysis_email metadata into metadata-ddl file




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #874: [MINOR] Fix query criteria in hdfs dashboard.

2017-03-15 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/874

[MINOR] Fix query criteria in hdfs dashboard.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle hdfsdashboardfix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/874.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #874


commit 65e2105890145b1e0f9ee991bb2abc4a8af35d6e
Author: chitin 
Date:   2017-03-15T10:26:51Z

[MINOR] Fix query criteria in hdfs dashboard




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #871: [Eagle 952] system dashbord

2017-03-13 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/871#discussion_r105821770
  
--- Diff: 
eagle-metric/eagle-system-web/src/main/webapp/app/apps/system/partials/serverList.html
 ---
@@ -0,0 +1,60 @@
+
+
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   Host 
Name
+   Rack
+   SiteId
+   Status
--- End diff --

sortpath should be unique, and these element is considered to add to 
searchPathList.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #840: [EAGLE-924]urls to healthy and unhealthy region-ser...

2017-02-27 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/840#discussion_r103366997
  
--- Diff: 
eagle-metric/eagle-hbase-web/src/main/webapp/app/apps/hbase/ctrls/overview.js 
---
@@ -59,7 +59,10 @@
 
$scope.site = $wrapState.param.siteId;
var result = cache[name] || 
activeMasterInfo._promise.then(function (res) {
-   var hostname = cache[hostname] 
= cache[hostname] || res[0].tags.hostname;
+   if(typeof res[0].tags === 
'undefined') {
--- End diff --

Thanks for your review and suggestion, I have fix it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle issue #840: [EAGLE-924]urls to healthy and unhealthy region-servers in...

2017-02-26 Thread chitin
Github user chitin commented on the issue:

https://github.com/apache/eagle/pull/840
  
@anyway1021 has the problem about 
[EAGLE-924](https://issues.apache.org/jira/browse/EAGLE-924) been solved? 
Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #840: [EAGLE-924]urls to healthy and unhealthy region-ser...

2017-02-22 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/840

[EAGLE-924]urls to healthy and unhealthy region-servers in hbase dashboard 
is not accurate enough

[EAGLE-924]urls to healthy and unhealthy region-servers in hbase dashboard 
is not accurate enough

- Add status filter in web url,append "?status=healthy" or 
"?status=unhealthy" to the url
- Fix exception when we change time interval
- Fix dashboard show when no data and exception.

https://issues.apache.org/jira/browse/EAGLE-924


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle924

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/840.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #840


commit 62ab13d3198497925bd7f54e52f04ca788b0e1ad
Author: chitin 
Date:   2017-02-23T07:42:42Z

[EAGLE-924] urls to healthy and unhealthy region-servers in hbase dashboard 
is not accurate enough
- Add status filter in web url,append "?status=healthy" or 
"?status=unhealthy" to the url
- Fix exception when we change time interval
- Fix dashboard show when no data and exception.

https://issues.apache.org/jira/browse/EAGLE-924




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #836: [EAGLE-908] Hdfs JMX Monitoring Dashboard

2017-02-22 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/836

[EAGLE-908] Hdfs JMX Monitoring Dashboard

[EAGLE-908] Hdfs JMX Monitoring Dashboard
- Hdfs overview page, use tab to show multiple active namenode, hdfs 
summary is displayed at the upper portion of the page.

https://issues.apache.org/jira/browse/EAGLE-908


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle908-2

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/836.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #836


commit a263395580bd68f32b5dfe4006864787ab2ceab7
Author: chitin 
Date:   2017-02-22T10:33:50Z

[EAGLE-908] Hdfs JMX Monitoring Dashboard

- Hdfs overview page, use tab to show multiple active namenode, hdfs 
summary is displayed at the upper portion of the page.

https://issues.apache.org/jira/browse/EAGLE-908




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle issue #813: [EAGLE-908] Hdfs JMX Monitoring Dashboard

2017-02-21 Thread chitin
Github user chitin commented on the issue:

https://github.com/apache/eagle/pull/813
  
Close the pr, contribute to the jira base on 
[825](https://github.com/apache/eagle/pull/825)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---



[GitHub] eagle pull request #813: [EAGLE-908] Hdfs JMX Monitoring Dashboard

2017-02-21 Thread chitin
Github user chitin closed the pull request at:

https://github.com/apache/eagle/pull/813


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #825: [EAGLE-900] Only show left navigation item (HDFS, H...

2017-02-20 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/825

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application
- Refactor eagle-hadoop-metric to single app for every service, for 
example, there is a eagle-hadoop-metric before, now eagle-hadoop-metric is 
split into eagle-hadoop-metric, eagle-hdfs-metric and eagle-hbase-metric, we 
can see HBase navigation item only if we install eagle-hbase-metric.

https://issues.apache.org/jira/browse/EAGLE-900


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle900-2

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/825.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #825


commit 8b1669e76a3c705916dac736a261adaa62dde931
Author: chitin 
Date:   2017-02-20T11:05:12Z

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application
- Refactor eagle-hadoop-metric to single app for every service, for 
example, there is a eagle-hadoop-metric before, but eagle-hadoop-metric is 
split into eagle-hadoop-metric, eagle-hdfs-metric and eagle-hbase-metric, we 
can see HBase navigation item only if we install eagle-hbase-metric.

https://issues.apache.org/jira/browse/EAGLE-900

commit 2172e8406d47f613d23b80112a222344970f65b9
Author: chitin 
Date:   2017-02-20T11:18:39Z

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application
- Modify pom.xml

https://issues.apache.org/jira/browse/EAGLE-900




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #821: [EAGLE-900] Only show left navigation item (HDFS, H...

2017-02-19 Thread chitin
Github user chitin closed the pull request at:

https://github.com/apache/eagle/pull/821


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #821: [EAGLE-900] Only show left navigation item (HDFS, H...

2017-02-19 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/821

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application
- Build a basic framework.
- Refactor eagle-hadoop-metric to single app for every service, for 
example, there is a eagle-hadoop-metric before, now eagle-hadoop-metric is 
split into eagle-hadoop-metric, eagle-hdfs-metric and eagle-hbase-metric, we 
can see HBase navigation item only if we install eagle-hbase-metric.

https://issues.apache.org/jira/browse/EAGLE-900


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle900

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/821.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #821


commit 237d96fa25b99cf94087c4033fde11a0e7e3e346
Author: chitin 
Date:   2017-02-17T11:02:54Z

refactor hadoop metric

commit d72ace9b69dccd284cc7153e952d43f7a6d87075
Author: chitin 
Date:   2017-02-17T11:08:41Z

Merge branch 'refactorhadoopmetric' of github.com:chitin/eagle into 
refactorhadoopmetric

commit 8a5a66e335565230c78fa329e46bd7b8c79341a4
Author: chitin 
Date:   2017-02-17T11:10:46Z

add hdfs web app

commit fefffcd3af8393dfc23e63a29d62fc068ba5aa11
Author: chitin 
Date:   2017-02-17T11:11:40Z

Merge branch 'refactorhadoopmetric' of github.com:chitin/eagle into 
refactorhadoopmetric

commit 985c3fdbade596a33d108670aff5260486f0638b
Author: chitin 
Date:   2017-02-20T05:26:17Z

[EAGLE-900] Only show left navigation item (HDFS, HBase) when we install 
the JMX application
- Refactor eagle-hadoop-metric to single app for every service, for 
example, there is a eagle-hadoop-metric before, but eagle-hadoop-metric is 
split into eagle-hadoop-metric, eagle-hdfs-metric and eagle-hbase-metric, we 
can see HBase navigation item only if we install eagle-hbase-metric.

https://issues.apache.org/jira/browse/EAGLE-900




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #813: [EAGLE-908] Hdfs JMX Monitoring Dashboard

2017-02-16 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/813

[EAGLE-908] Hdfs JMX Monitoring Dashboard

[EAGLE-908] Hdfs JMX Monitoring Dashboard
- Hdfs overview page, use tab to show multiple active namenode, hdfs 
summary is displayed at the upper portion of the page.
- Refactor index.js sharing to all services.

https://issues.apache.org/jira/browse/EAGLE-908

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle hdfsdashboard

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/813.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #813


commit ca62e8fc43075851392d0ac3fba4c8493d3567d0
Author: chitin 
Date:   2017-02-17T02:00:00Z

[EAGLE-908] Hdfs JMX Monitoring Dashboard
- Hdfs overview page, use tab to show multiple active namenode, hdfs 
summary is displayed at the upper portion of the page.
- Refactor index.js sharing to all services.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #804: [EAGLE-897]HBase JMX Widget Url is wrongly using si...

2017-02-15 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/804

[EAGLE-897]HBase JMX Widget Url is wrongly using siteName instead of siteId

[EAGLE-897]HBase JMX Widget Url is wrongly using siteName instead of siteId
- Use siteId instead of siteName in hyperlink.

https://issues.apache.org/jira/browse/EAGLE-897

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle897

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/804.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #804


commit 6470829d8793521e0a57486d49864667f647773a
Author: chitin 
Date:   2017-02-15T09:49:04Z

[EAGLE-897]HBase JMX Widget Url is wrongly using siteName instead of siteId
- Use siteId instead of siteName in hyperlink.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #788: [EAGLE-873] Add job name column to let user search ...

2017-01-21 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/788

[EAGLE-873] Add job name column to let user search their jobs using that 
field

[EAGLE-873] Add job name column to let user search their jobs using that 
field
- Add jobName column in JPM job list.
- Add jobName to searchList

https://issues.apache.org/jira/browse/EAGLE-873

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle eagle873

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/788.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #788


commit b798fbe475948d248810970d3810ed11f763bbd3
Author: chitin 
Date:   2017-01-22T06:37:06Z

[EAGLE-873] Add job name column to let user search their jobs using that 
field
- Add jobName column in JPM job list.
- Add jobName to searchList

https://issues.apache.org/jira/browse/EAGLE-873




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #782: [IMPROVEMENT] Using aggregation query in backend in...

2017-01-18 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/782

[IMPROVEMENT] Using aggregation query in backend instead of calculating 
count in frontend.

[IMPROVEMENT] Using aggregation query in backend instead of calculating 
count in frontend.
- Using siteId as query argument.
- Using aggregation query in backend instead of calculating count in 
frontend.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle refactorquery

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/782.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #782


commit e86b35ba32b8def75c7ef4f7cfb6813b85bc45a9
Author: chitin 
Date:   2017-01-19T05:05:05Z

[IMPROVEMENT] Using aggregation query in backend instead of calculating 
count in frontend.
- Using siteId as query argument.
- Using aggregation query in backend instead of calculating count in 
frontend.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #781: [MINOR] Handle series if no data

2017-01-18 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/781

[MINOR] Handle series if no data

[MINOR] Handle series if no data
- show "NO DATA" if there is no data in series.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle handlenodata

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/781.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #781






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #780: [EAGLE-863] Refactor Topology Monitoring Widgets

2017-01-16 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/780

[EAGLE-863] Refactor Topology Monitoring Widgets

[EAGLE-863] Refactor Topology Monitoring Widgets
- Define master,regionservers information in HBase widget.

https://issues.apache.org/jira/browse/EAGLE-845

[IMPROVEMENT] Refactor HBase summary information
- Add backup master page
- Add some metric.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle widgetandsummary

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/780.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #780


commit 99453383c77d0de4b36e767658c7fba1d69bfd15
Author: chitin 
Date:   2017-01-17T07:21:54Z

[EAGLE-863] Refactor Topology Monitoring Widgets
- Define master,regionservers information in HBase widget.

https://issues.apache.org/jira/browse/EAGLE-845

[IMPROVEMENT] Refactor HBase summary information
- Add backup master page
- Add some metric.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #778: [MINOR] Refactor series aggregation

2017-01-15 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/778

[MINOR] Refactor series aggregation

[MINOR] Refactor series aggregation
- Make min, max, 75%,95%,99% be together, "operationNum" metric separate 
show.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle seriesAggre

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/778.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #778


commit 2e3608e78e9be753e2ef8602e15e1720012d6fdd
Author: chitin 
Date:   2017-01-16T06:49:06Z

[MINOR] Refactor series aggregation
- Make min, max, 75%,95%,99% be together.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #774: [MINOR] Rename Overview to HBase in hadoop jmx dash...

2017-01-13 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/774

[MINOR] Rename Overview to HBase in hadoop jmx dashboard

[MINOR] Rename Overview to HBase in hadoop jmx dashboard

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/eagle menufix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/774.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #774


commit da2a5c81932061254dca960c7a7b0fa174495ffd
Author: chitin 
Date:   2017-01-13T09:43:17Z

[MINOR] Rename Overview to HBase




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #767: EAGLE-852 Application start button should be disabl...

2017-01-09 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/767

EAGLE-852 Application start button should be disabled when it's running, 
and the same for stop button.

EAGLE-852 Application start button should be disabled when it's running, 
and the same for stop button.
- Add disabled judgment logic.

executable | status  | start button | stop button
---|--- | --- | ---
Y | INITIALIZED | Y | N
Y | STARTING | N | N
Y | RUNNING | N | Y
Y | STOPPING | N | N
Y | STOPPED | N | N
N | INITIALIZED | N | N

https://issues.apache.org/jira/browse/EAGLE-852

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/incubator-eagle EAGLE-852-startbutton

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/767.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #767


commit 91b60c52038d62565d75049d7608248fe7ad5afb
Author: chitin 
Date:   2017-01-09T05:10:27Z

[MINOR] Fix unit test problem
- Add dependency for HADOOP_METRIC_MONITOR, should fix UT.

commit 37c0ea9c664a5e61ed6cac3cd43cb509a20206f7
Author: chitin 
Date:   2017-01-09T09:00:54Z

EAGLE-852 Application start button should be disabled when it's running, 
and the same for stop button.
- Add disabled judgment logic.

https://issues.apache.org/jira/browse/EAGLE-852




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #766: [MINOR] Fix unit test problem

2017-01-08 Thread chitin
GitHub user chitin opened a pull request:

https://github.com/apache/eagle/pull/766

[MINOR] Fix unit test problem

[MINOR] Fix unit test problem
- fix ut problem which caused by adding dependency for hadoop_metric_monitor

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/chitin/incubator-eagle uishow_utbug

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/eagle/pull/766.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #766


commit 91b60c52038d62565d75049d7608248fe7ad5afb
Author: chitin 
Date:   2017-01-09T05:10:27Z

[MINOR] Fix unit test problem
- Add dependency for HADOOP_METRIC_MONITOR, should fix UT.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle issue #753: EAGLE-845 JMX Dashboard

2017-01-05 Thread chitin
Github user chitin commented on the issue:

https://github.com/apache/eagle/pull/753
  
@haoch @zombieJ  I refactor the code with using json file instead of hard 
code map, please could you review it , thank you very much.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] eagle pull request #753: EAGLE-845 JMX Dashboard

2016-12-30 Thread chitin
Github user chitin commented on a diff in the pull request:

https://github.com/apache/eagle/pull/753#discussion_r94210235
  
--- Diff: 
eagle-hadoop-metric/src/main/webapp/app/apps/hadoop_metric/index.js ---
@@ -23,24 +23,271 @@
var hadoopMetricApp = register(['ngRoute', 'ngAnimate', 'ui.router', 
'eagle.service']);
 
hadoopMetricApp.route("HadoopMetric", {
-   url: "/hadoopMetric/",
+   url: "/hadoopMetric?startTime&endTime",
site: true,
templateUrl: "partials/overview.html",
controller: "overviewCtrl",
+   resolve: {time: true}
}).route("HadoopMetric_HDFS", {
url: "/hadoopMetric/hdfs",
site: true,
templateUrl: "partials/hdfs/index.html",
controller: "hdfsCtrl",
+   resolve: {time: true}
+   }).route("regionDetail", {
+   url: "/hadoopMetric/regionDetail/:hostname",
+   site: true,
+   templateUrl: "partials/region/regionDetail.html",
+   controller: "regionDetailCtrl",
+   resolve: {time: true}
+   }).route("regionList", {
+   url: "/hadoopMetric/regionList",
+   site: true,
+   templateUrl: "partials/region/regionList.html",
+   controller: "regionListCtrl"
+   }).route("masterDetail", {
+   url: "/hadoopMetric/:hostname?startTime&endTime",
+   site: true,
+   reloadOnSearch: false,
+   templateUrl: "partials/overview.html",
+   controller: "overviewCtrl",
+   resolve: {time: true}
});
 
-   hadoopMetricApp.portal({name: "Services", icon: "heartbeat", list: [
-   {name: "Overview", path: "hadoopMetric/"},
-   {name: "HDFS", path: "hadoopMetric/hdfs"},
-   ]}, true);
+   hadoopMetricApp.portal({
+   name: "Services", icon: "heartbeat", list: [
+   {name: "Overview", path: "hadoopMetric"},
+   {name: "HDFS", path: "hadoopMetric/hdfs"}
+   ]
+   }, true);
+
+   hadoopMetricApp.service("METRIC", function ($q, $http, Time, Site, 
Application) {
+   var METRIC = window._METRIC = {};
+
+   METRIC.QUERY_HBASE_METRICS = 
'${baseURL}/rest/entities?query=GenericMetricService[${condition}]{*}&metricName=${metric}&pageSize=${limit}';
+   METRIC.QUERY_HBASE_METRICS_WITHTIME = 
'${baseURL}/rest/entities?query=GenericMetricService[${condition}]{*}&metricName=${metric}&pageSize=${limit}&startTime=${startTime}&endTime=${endTime}';
+   METRIC.QUERY_HBASE_INSTANCE = 
'${baseURL}/rest/entities?query=HbaseServiceInstance[${condition}]{*}&pageSize=${limit}';
+
+   METRIC.QUERY_HBASE_METRICS_INTERVAL = 
'${baseURL}/rest/entities?query=GenericMetricService[${condition}]<${groups}>{${field}}${order}${top}&metricName=${metric}&pageSize=${limit}&startTime=${startTime}&endTime=${endTime}&intervalmin=${intervalMin}&timeSeries=true';
+   /**
+* Fetch query content with current site application 
configuration
+* @param {string} queryName
+*/
+   var getQuery = METRIC.getQuery = function (queryName, siteId) {
+   var baseURL;
+   siteId = siteId || Site.current().siteId;
+   var app = Application.find("HADOOP_METRIC_MONITOR", 
siteId)[0];
+   var host = app.configuration["service.host"];
+   var port = app.configuration["service.port"];
--- End diff --

I have added config of service.host & service.port in 
HadoopMetricMonitorAppProdiver.xml


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-eagle issue #753: EAGLE-845 JMX Dashboard

2016-12-22 Thread chitin
Github user chitin commented on the issue:

https://github.com/apache/incubator-eagle/pull/753
  
As you suggest, I create a pull request, then I will focus on it and 
improve the code based on the results of the discussion.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---