Member since
12-15-2015
39
Posts
21
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2739 | 07-15-2016 03:41 AM | |
1498 | 07-15-2016 01:31 AM | |
3478 | 02-24-2016 11:39 PM | |
4547 | 02-19-2016 05:16 PM |
02-05-2016
06:39 AM
See my answer which shows the screen where I made this modification.
... View more
02-05-2016
06:38 AM
FYI, the method I used to remove the 2 offending parameters was to do it through Ambari. If you navigate to the config tab of YARN you can go to the scheduler section and delete the 2 options in the Capacity Scheduler textbox. That textbox shows the 2 options like so:
... View more
01-11-2016
09:56 PM
You have to create links in the directory where `sqlline.py` lives to 2 .xml files that are provided by HBase/Hadoop. $ pwd
/usr/hdp/2.2.8.0-3150/phoenix/bin
$ ll | grep xml
lrwxrwxrwx 1 root root 29 Dec 16 13:34 core-site.xml -> /etc/hbase/conf/core-site.xml
lrwxrwxrwx 1 root root 30 Dec 16 13:34 hbase-site.xml -> /etc/hbase/conf/hbase-site.xml With those in place and `$JAVA_HOME` and `java` on your `$PATH`, you can now run `sqlline.py`: $ ./sqlline.py localhost:2181/hbase-unsecure
... View more
12-28-2015
07:39 PM
1 Kudo
BTW - this is a single node of HortonWorks so it seems odd that it would require so much space? I'm going w/ the default options when I do a server install too.
... View more
12-28-2015
07:36 PM
1 Kudo
@Scott Shaw - I'm using 2.0.1 of Ambari. I never thought of that, so I can remove AMS and then re-install it to get it to recreate it when I happen upon the out of HDD space issue? I'll look thru the links to see how to dial down the TTLs for AMS. Thanks for the info!
... View more
12-28-2015
07:08 PM
3 Kudos
How can I stop the entire HDP stack of services from the CLI? I seem to recall that there was a command to accomplish this but I can not find it. It would seem like this facility would be associated with the ambari-agent service but I did not see any such method/action on the usage for this script/service.
... View more
Labels:
- Labels:
-
Apache Ambari
12-28-2015
04:41 PM
1 Kudo
I recently setup HDP (HBase) on a single VM which had ~15GB of space. The installation went fine but after ~2 months the system ran out of HDD space. I'd like to come up with a method for clearing out the metrics or truncating them. While researching this I drilled down to this directory where the bulk of the space is being used: $ du -sh /var/lib/ambari-metrics-collector/hbase/data/default/* | sort -rh | head -5
7.1G /var/lib/ambari-metrics-collector/hbase/data/default/METRIC_AGGREGATE
403M /var/lib/ambari-metrics-collector/hbase/data/default/METRIC_RECORD_MINUTE
209M /var/lib/ambari-metrics-collector/hbase/data/default/METRIC_RECORD
76M /var/lib/ambari-metrics-collector/hbase/data/default/METRIC_AGGREGATE_HOURLY
45M /var/lib/ambari-metrics-collector/hbase/data/default/METRIC_RECORD_HOURLY
I've toyed with several methods of truncating these files using the `truncate -s 0 <file>` command but this trashes the files so that they're no longer usable by AMS.
Questions
Is there a simple way to reset the metrics? Is there a safe way to delete the data collected periodically, from say a cron job?
NOTE: This is a small installation and I don't have the ability to throw more HDD space at the problem. I'd like to keep AMS enabled if possible.
... View more
Labels:
- Labels:
-
Apache Ambari
12-16-2015
01:41 PM
I support an application that was written to HBase 0.98. I'd like to be able to utilize the latest HDP 2.3 but still be able to downgrade just this one app in my stack to a particular version. Is this possible? I know I could facilitate this through the package management on the box, YUM & RPM, but I'd rather be able to drive this from Ambari if possible.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache HBase
12-15-2015
05:09 PM
I had to remove the options through the config tab of Ambari but once I did that I was able to restart and resourcemanager is now running.
... View more
12-15-2015
03:51 PM
Looks like someone on SO is having the same issue as well: http://stackoverflow.com/questions/34054426/hadoop-resourcemanager-will-not-start-bad-scheduler-setting.
... View more
- « Previous
- Next »