Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2713 | 04-27-2020 03:48 AM | |
| 5273 | 04-26-2020 06:18 PM | |
| 4443 | 04-26-2020 06:05 PM | |
| 3566 | 04-13-2020 08:53 PM | |
| 5374 | 03-31-2020 02:10 AM |
05-27-2017
02:20 AM
1 Kudo
@Jonathan Turner
Can you please let us know exactly when you are getting "permission Denied" error. It will be really great if you can share the screenshot of the error or the complete screenshot. Can you please try any of the following approach?
1. Try using the command with "sudo" as following: echo'{Host-Name} sandbox.hortonworks.com'| sudo tee -a /c/Windows/System32/Drivers/etc/hosts
(OR) 2. Manually Edit the file without using command.
- Open "Notepad" on Windows by right clicking on the Notepad and select 'Run as Administrator' - Open the file "c:\Windows\System32\Drivers\etc\hosts"
- Add the hostname in the following format - {Host-Name} sandbox.hortonworks.com - Save the changes and try again. (OR) 3. Try opening the "Git Bash" in 'Run as Administrator' mode and then run the commands.
.
... View more
05-26-2017
11:11 AM
1 Kudo
@Vijaya S If you are getting this Querytimeout error as soon as you try to access the HiveView then please check if you have the ATS and the HiveServer instances running and you are able to do the "Run Service Check" successfully from the Ambari UI --> Hive --> Service Actions --> 'Run Service Check' Ambari UI --> Yarn --> Service Actions --> 'Run Service Check' . Also in your Labs do you have enough Memory (RAM) and also please check if the the hive and ATS logs are showing any warning/error? .
... View more
05-26-2017
11:09 AM
@Vijaya S Can you pelase share the complete stackTrace of the error that you are getting in the ambari UI as well as from the ambari logs? Are you running some long running query? If yes then did you try setting the following property in the "/etc/ambari-server/conf/ambari.properties" to a larger value (more than the time that you expect the hive to return the result). views.ambari.hive.<InstanceName>.result.fetch.timeout=xxxxxx . Please see: https://community.hortonworks.com/articles/90768/how-to-fix-ambari-hive-view-15-result-fetch-timed.html
... View more
05-26-2017
10:07 AM
@white wartih
Wow!! good finding , I had written an article on the same sometime back: https://community.hortonworks.com/articles/42872/why-ambari-host-might-have-different-public-host-n.html
... View more
05-26-2017
10:02 AM
@Rajesh Reddy
You will not find that file in your file system. The "set-ambari-version.sh" script is only used when some one tries to build ambari from github and when making RPM it is used to set the version number. As a user we simply download those RPMs from the ambari repo and install it. (Inside the RPM we do not ship that script)
... View more
05-26-2017
09:22 AM
@white wartih We can try finding out which data is becoming unexpectedly large by running the ambari agent in debug mode. For that we can edit the following file "/etc/ambari-agent/conf/ambari-agent.ini" and edit the following line to DEBUG: loglevel=INFO Change it as following: loglevel=DEBUG . Then when we try to restart ambari agent then it should show the agent registration request (JSON Data). We can grep the following entry:
# ambari-agent stop
# ambari-agent start
# grep 'Registering with' /var/log/ambari-agent/ambari-agent.log.* .
... View more
05-26-2017
09:16 AM
@white wartih hosts table of ambari DB has 255 column size for different columns which is OK in most scenarios. However in your case looks like some host specific data is too large. In an other thread one user reported similar issue when the MAC address was being generated in junk (too large) , Can you please check: https://community.hortonworks.com/questions/58142/postgres-error-value-too-long-for-type-character-v.html .
... View more
05-26-2017
07:29 AM
@Sadegh
Yes, After doing ssh on the designed and documented port 2222 i am able to do so. HW11189:ambari jsensharma$ ssh root@127.0.0.1 -p 2222
Last login: Fri May 26 07:27:30 2017 from 10.0.2.2
[root@sandbox ~]# hdfs
Usage: hdfs [--config confdir] [--loglevel loglevel] COMMAND
where COMMAND is one of:
dfs run a filesystem command on the file systems supported in Hadoop.
classpath prints the classpath
namenode -format format the DFS filesystem
. Port 2222 is must to be used. https://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
... View more
05-26-2017
07:15 AM
4 Kudos
@Sadegh Sandbox runs on docker container. So some profile configs are loaded only when you do "ssh on port 2222" This is the way port forwarding works is that it exposes port 22 of the sandbox machine to the outside network of your PC via port 2222. # ssh root@127.0.0.1 -p 2222 Or using putty on port 2222 ssh port. . But alternatively you can also try using the WebTerminal to run the commands like: http://localhost:4200/ .
... View more
05-26-2017
06:59 AM
@Rajesh Reddy I responded to your query in another thread being discussed on the same issue: https://community.hortonworks.com/questions/104714/ambari-server-and-web-client-versions-do-not-match-1.html#answer-104931
... View more