Member since
11-07-2016
637
Posts
253
Kudos Received
144
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2225 | 12-06-2018 12:25 PM | |
2281 | 11-27-2018 06:00 PM | |
1777 | 11-22-2018 03:42 PM | |
2835 | 11-20-2018 02:00 PM | |
5141 | 11-19-2018 03:24 PM |
10-25-2017
07:31 AM
1 Kudo
@ANSARI FAHEEM AHMED, hdfs accepts directories with quotes. may be the directory was created using the below command hdfs dfs -mkdir /user/\"hdpuser\" Please check the screenshot.
... View more
10-24-2017
05:23 PM
@Florin Miron, Can you kindly accept the answer. This will be very useful for the community users. Thanks, Aditya
... View more
10-24-2017
02:31 PM
@Yair Ogen While installing the cluster, in the "Assign Slaves and Clients" page ambari will give an option to select the nodes where you want to install the Node managers. By default only a single node will be selected. You can select other nodes as well to install on them. The no of node managers you want to install depends on no of factors (no of applications you want to run, memory used by apps etc) Check this link for more info https://community.hortonworks.com/questions/82861/how-many-node-managers-should-be-installed.html
... View more
10-24-2017
02:16 PM
1 Kudo
@Yair Ogen, I guess you have only a single Node manager. You can always install the node managers in other nodes as well. Click on Hosts -> Select the host you want to install the node manager -> Click Add -> Select Nodemanager Thanks, Aditya
... View more
10-24-2017
08:57 AM
1 Kudo
@Shravan Kumar, You can use the below API for Turn ON and Turn OFF respectively curl -k -u <username>:<password> -H "X-Requested-By:ambari" -i -X PUT -d '{"RequestInfo":{"context":"Turn On Maintenance Mode for SNameNode"},"Body":{"HostRoles":{"maintenance_state":"ON"}}}' http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/SECONDARY_NAMENODE
curl -k -u <username>:<password> -H "X-Requested-By:ambari" -i -X PUT -d '{"RequestInfo":{"context":"Turn Off Maintenance Mode for SNameNode"},"Body":{"HostRoles":{"maintenance_state":"OFF"}}}' http://{ambari-host}:{ambari-port}/api/v1/clusters/{clustername}/hosts/{hostname}/host_components/SECONDARY_NAMENODE Replace the ambari-host,ambari-port , clustername and hostname placeholders with the original value. Thanks, Aditya
... View more
10-20-2017
03:13 PM
1 Kudo
@Mathi Murugan, You can use this one line command echo "scan 'test_1',{FILTER =>\"(PrefixFilter ('r1'))\"}" | hbase shell -n | grep "column=" | hdfs dfs -appendToFile - /tmp/hbaseresults.txt Here 'test_1' is the table name, 'r1' is the row key and /tmp/hbaseresults.txt is the hdfs file path. You can replace these values with your values. Thanks, Aditya
... View more
10-20-2017
12:13 PM
2 Kudos
@Florin Miron, Run the below command on all the ambari agent nodes. Quick and easy sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg Thanks, Aditya
... View more
10-19-2017
08:51 AM
2 Kudos
@Helmi KHALIFA, Try running the below command in shell to get permissions for a user for all the tables echo "user_permission '.*'" | hbase shell -n | grep {username} user_permission '.*' gives permissions for all users for all tables Thanks, Aditya
... View more
10-17-2017
04:12 PM
1 Kudo
@Mateusz Grabowski, You can make the required changes in stack_advisor.py under (/var/lib/ambari-server/resources/stacks/HDP/{HDP version}/services/stack_advisor.py For testing, I have changed a line in ( /var/lib/ambari-server/resources/stacks/HDP/2.5/services/stack_advisor.py. I have hardcoded the port no in atlas.rest.address to 12233 and restarted the ambari server. As you can see in the below screenshot, it got reflected in the UI. All you have to do is make the changes you want in stack_advisor.py , restart ambari-server. We need not run the file manually. Note : Ambari agents will cache these files. So you should make the same change in (/var/lib/ambari-agent/cache/stacks/HDP/{HDP version}/services/stack_advisor.py) as well. You can check this link for some more info Hope this helps 🙂 Thanks, Aditya
... View more
10-16-2017
06:49 PM
@Ivan Majnaric, There is no harm in running sqlline.py again. Actually it is a client to query phoenix. It will create the SYSTEM tables if not already created. You can check this answer by Josh in the link. https://community.hortonworks.com/questions/64005/phoenix-security-and-initial-system-table-creation.html If this works for you please mark the answer as accepted so that it will be useful for the community. Thanks, Aditya
... View more