Member since
01-06-2017
11
Posts
1
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2417 | 01-25-2017 04:37 AM |
05-22-2017
04:38 PM
I am unable to load my data in HBase with this command, I get the following error SyntaxError: (hbase):2: syntax error, unexpected tIDENTIFIER Mine is a fully distributed cluster of Hadoop 2.7.3 and HBase 1.2.5. I have also tried removing the separator argument and loading a TSV file (the ',' given in the above line as the value of the argument separator gives an error anyway). It has probably got something to do with the way the tables are referenced in HBase 1.2.5. Please respond.
... View more
01-31-2017
09:12 AM
1 Kudo
I am trying to test a spark application and I need to collect the cluster metrics from Ambari within a specific time-frame. I record the start-time and end-time of my spark queries and then try to collect these metrics after a time-gap of at least 13 minutes. I receive all the values as null. However, from the Ambari Web UI, I can see that the metrics for that time-interval are available. I tried a tweak of adding a millisecond to the start-time and the metrics magically appeared. However, that tweak now fails to work, in that now it requires me to add 2 milliseconds to the start-time. Can anybody help me get the metrics through the REST calls ? Original query: http://192.168.225.130:8080/api/v1/clusters/Sandbox?fields=metrics[1485851658225,1485851659385,15] Result: Modified query: http://192.168.225.130:8080/api/v1/clusters/Sandbox?fields=metrics[1485851658226,1485851659385,15] Result: I am testing the application from a Java program running on Eclipse in Windows 7. The queries are made on a Hive table over a JDBC connection, hosted on a VM of HDP 2.4 with 11GB RAM to it. The system has 16GB of total memory.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Spark
01-25-2017
04:37 AM
I have shifted to HDP 2.4, and you just need to start Metrics Monitors from Ambari to make everything work. There's probably a problem with HDP 2.5. Please notify if you have a working solution for HDP 2.5.
... View more
01-25-2017
04:34 AM
Restarted just Hive, did not work. Restarted Atlas too, and it works fine. Thanks for the answer. Can you explain why does this happen ?
... View more
01-11-2017
05:12 AM
The log-file: ambari-metrics-collector.zip When you say "for a while", does it mean that it comes back up normally after you restart it ? I tried deleting the contents of version-2/* multiple times (the directory was empty anyway).
... View more
01-10-2017
12:00 PM
@Edgar Daeds, followed the instructions given above. The Metrics Collector showed "Started" as the status after the restart. However, upon refreshing the page, the status came back to "Stopped". Do you think this is some sort of an issue in HDP 2.5 ? I started Metrics Collector in HDP 2.4 and it seems to work fine over there.
... View more
01-09-2017
11:15 AM
@Edgar Daeds, did you mean "ls -attr" ? PFA the result for that. "lsattr" did not seem to work. post2.png
... View more
01-09-2017
08:52 AM
@Jay SenSharma Mine is an embedded Metrics Collector. I have located the folders, but somehow I am unable to remove the files inside this folder. It says 'invalid argument' for every folder. Please suggest a workaround, or if there's a problem with the way I did it. I am adding a screenshot of the commands I issued inside the hbase.tmp.dir.
... View more
01-06-2017
05:45 AM
I am trying to start Ambari Metrics through Ambari Web UI. However, the Metrics Collector does not start even after multiple tries. I looked into the log files and the problem seems to be with the zookeeper client connection. The connection is successfully established and a session is initiated, but after the phoenix metrics system has started, no further data can be read from the session. The socket connection is assumed to be closed and after several retries the process is aborted. Kindly provide a working solution, or let me know if more information is required.
... View more
Labels:
- Labels:
-
Apache Ambari