Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2712 | 04-27-2020 03:48 AM | |
| 5269 | 04-26-2020 06:18 PM | |
| 4440 | 04-26-2020 06:05 PM | |
| 3558 | 04-13-2020 08:53 PM | |
| 5364 | 03-31-2020 02:10 AM |
04-04-2017
11:33 AM
@Ali Mohammadi Shanghoshabad Please check this article : https://community.hortonworks.com/articles/26416/how-to-install-snakebite-in-hdp.html
You only need to pass the hdfs config files of your remote cluster to the python client. . For example in the python code :you can tell where is your core-site.xml /hdfs-site.xml present. It can be any path where these files are present. https://github.com/spotify/snakebite/blob/6a456e6100b0c1be66cc1f7f9d7f50494f369da3/snakebite/client.py#L1553
... View more
04-04-2017
09:47 AM
@Pradeep kumar
If you have installed JDK using yum then you should check the directory: export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64 . The inside the $JAVA_HOME/bin you should find the "javac" and "java" executables.
... View more
04-04-2017
09:27 AM
@Pradeep kumar Are you sure that you added "$JAVA_HOME/bin" to your PATH variable? export JAVA_HOME=/usr/hdp/current/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64
export PATH=$JAVA_HOME/bin:$PATH
. Now you shoudl be able to run "javac" and "java --version"
... View more
04-04-2017
02:37 AM
1 Kudo
@Viswa 1) Login to Ambari UI 2). Zookeeper -> Config -> Advanced zookeeper-log4j 3). Check if the "${zookeeper.log.dir}" is defined in the "log4j.appender.ROLLINGFILE.File" or not? If not then add it before the file name and restart zookeeper. log4j.rootLogger=INFO, ROLLINGFILE
log4j.appender.ROLLINGFILE.File=${zookeeper.log.dir}/zookeeper.log . Also change the below line log4j.rootLogger=INFO, CONSOLE
TO following so that we are instructing the Zookeeper to also log in the ROLLINGFILE appender apart from console. log4j.rootLogger=INFO, CONSOLE, ROLLINGFILE .
... View more
04-03-2017
01:25 PM
@Normen Zoch
You accepted an update which is not an answer. But just a confirmation that the issue got resolved :(
... View more
04-03-2017
01:17 PM
@Normen Zoch
Great to hear that the issue is resolved. It will be good if you can mark this HCC thread as Answered (Accepted) so that it will be useful for others as well.
... View more
04-03-2017
08:25 AM
@Normen Zoch Try this for deleting "user1" curl -ik -u admin:admin -H 'X-Requested-By: ambari' -X DELETE https://node0.mynet:8443/api/v1/users/user1 . You were trying to pass a data "-d '{"Users/user_name":"user1"}'" which is a post data ... that is not right combination with DELETE request for the uri "/api/v1/users/" . For adding new users or adding privileges please refer to https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=55152242 https://community.hortonworks.com/questions/50073/adding-new-ambari-user-with-assigned-group-with-ap.html
... View more
04-03-2017
03:35 AM
1 Kudo
@Jose Praveen T Please check if you are able to run other commands like "hdfs" ? If not then it might be the problem in the way you did ssh to the sandbox. Are you sure that you have ssh to the sandbox using port 2222 as following? (not any other port) # ssh root@127.0.0.1 -p 2222 . Also you can try using the http://127.0.0.1:4200 Web Terminal to see if you are getting this error in your browser terminal as well? . You can also try setting the JAVA_HOME and then see if jps/java works. You can find the JAVA path from the running NameNode/DataNode output as # ps -ef | grep NameNode
Example: export JAVA_HOME="/usr/jdk64/jdk1.7.0_67"
export PATH=$JAVA_HOME/bin:$PATH .
... View more
04-02-2017
03:32 AM
@venkat dukkipati As you are not able to connect to port 1521 (even using telnet) So i am suspecting either your Oracle instance is not listening on this port or it might be bound to some other network interface apart from 127.0.0.1. Please check oracle logs to make sure you are able to connect to it. List the ports opened by Oracle Process to see if port 1521 is opened or not? # netstat -tnlpa | grep $ORACLE_PID
.
... View more
04-01-2017
07:46 PM
@Michael Knight
Allowing port 8000 to be accessed outside of the VirtualBox VM is not specific to Sandbox 2.4/2.5 version. It's a Virtual Box preference.The port forwarding steps should remain same.
... View more