Member since
09-17-2015
436
Posts
736
Kudos Received
81
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3841 | 01-14-2017 01:52 AM | |
5742 | 12-07-2016 06:41 PM | |
6615 | 11-02-2016 06:56 PM | |
2173 | 10-19-2016 08:10 PM | |
5681 | 10-19-2016 08:05 AM |
11-15-2016
03:00 AM
@Hammad Ali, The problem has been solved .And I have not install ranger plugin from ambari. Thank for you answer.Thank you.
... View more
01-22-2016
02:02 AM
1 Kudo
@Siva Konda Make sure you are accessing Ranger Admin UI on port 6080 e,g, http://<VMs IP>:6080 If you are using VirtualBox, make sure that port 6080 has been forwarded (see here on how) Make sure Ranger is listening on port 6080 netstat -tulpn | grep 6080 If not, try restarting Ranger service sudo service ranger-admin restart
Finally check the Ranger logs (e.g. xa_portal.log and catalina.out) under below dir: ls -la /var/log/ranger/admin/
... View more
01-12-2016
10:09 PM
2 Kudos
Note that the requests don't work if the service is in maintenance mode. So to be safe, I usually disable it before interacting with the service via API. This worked for me. Change the exported variables accordingly for your setup export SERVICE=HDFS
export PASSWORD=admin
export AMBARI_HOST=localhost
export CLUSTER=Sandbox
#get status
curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X GET http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER/services/$SERVICE
#disable maintenance mode
curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"Remove HDFS from maintenance mode"}, "Body": {"ServiceInfo": {"maintenance_state": "OFF"}}}' http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER/services/HDFS
#stop service
curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"Stop $SERVICE via REST"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}' http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER/services/$SERVICE
#start service
curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"Start $SERVICE via REST"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}' http://$AMBARI_HOST:8080/api/v1/clusters/$CLUSTER/services/$SERVICE
... View more
08-21-2017
02:00 AM
2 Kudos
I solved this problem after adding this property to core-site.xml. <configuration>
<property>
<name>hadoop.security.authentication</name>
<value>kerberos</value>
</property>
</configuration>
... View more
01-25-2016
07:49 AM
@Paul Boali just want d3 for ad hoc data visualization
... View more
01-06-2016
03:12 AM
finally,i fix the problem caused by configuration about http_proxy ,follow next:
On the Ambari Server, edit /var/lib/ambari-server/ambari-env.sh. Add "-Dhttp.proxyHost=myproxyhost -Dhttp.proxyPort=1234" to the AMBARI_JVM_ARGS. Restart the Ambari Server to pick up this change.
... View more
02-17-2016
12:02 PM
1 Kudo
Thanks !!!
... View more
12-30-2015
06:14 AM
Thanks Ali very much! I paused the VM, threfore it did not allow me to change the memory config. After stopping the VM as you suggested , I was able to configure the memory.
... View more
12-24-2015
05:33 PM
Its not needed on a single node. In the latest sandbox, this process has been turned off (maintenance mode) to conserve resources. On the sandbox page, see here for sandbox release notes for the current sandbox under section "Services not started automatically". HDFS
SecondaryNameNode
*Since on a single node, secondary namenode is not needed, it is not started. For more details on what secondary name node does see here If you are bored and have some time, this video also helps explain in way you won't soon forget 🙂
... View more
02-28-2016
02:58 PM
1 Kudo
I also get this warning on HDP 2.3.2 - It is only a warning and I'd be interested to know what the impact is. It seems strange that the "ranger" user doesn't have access to the "/var/lib/ranger" folder...especially as there are .bash_profile files in here, suggesting it's some kind of home folder
[root@sandbox ranger]# id ranger
uid=1008(ranger) gid=503(hadoop) groups=503(hadoop),487(ranger)
[root@sandbox ranger]# ls -dl /var/lib/ranger
drwx------ 2 kms kms 4096 2015-10-27 12:56 /var/lib/ranger
[root@sandbox ranger]# ls -la .
total 20
drwx------ 2 kms kms 4096 2015-10-27 12:56 .
drwxr-xr-x. 39 root root 4096 2016-02-28 14:38 ..
-rw-r--r-- 1 kms kms 18 2015-09-22 16:40 .bash_logout
-rw-r--r-- 1 kms kms 176 2015-09-22 16:40 .bash_profile
-rw-r--r-- 1 kms kms 124 2015-09-22 16:40 .bashrc
[root@sandbox ranger]# getent passwd ranger
ranger:x:1008:503:Ranger:/var/lib/ranger:/bin/bash
[root@sandbox ranger]#
Should I make the 'ranger' user part of the kms group? I would still have to make the /var/lib/ranger folder group readable (at least).
... View more