Member since
04-16-2019
373
Posts
7
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
23730 | 10-16-2018 11:27 AM | |
7809 | 09-29-2018 06:59 AM | |
1198 | 07-17-2018 08:44 AM | |
6631 | 04-18-2018 08:59 AM |
11-29-2017
05:56 AM
I am trying to start SmartSense activity analyzer but it is getting fail and logs are also not available for the same. but I cat activity-analyzer.out and below is error : nohup: failed to run command ‘/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/bin/java’: No such file or directory I have checked java_home and it is : /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre and cat /etc/smartsense-activity/conf/activity.ini : [java]
home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.el7_4.x86_64/jre then why in activity-analyzer.out this error is coming ?
... View more
Labels:
11-28-2017
01:25 PM
i have restarted ambari-agent but when i start nodemanager now getting an error : Execution of 'ambari-sudo.sh su yarn -l -s /bin/bash -c 'ls /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid && ps -p `cat /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid`'' returned 1. /var/run/hadoop-yarn/yarn/yarn-yarn-nodemanager.pid
... View more
11-28-2017
11:27 AM
@Jay Kumar SenSharma i ran same mount test script : here is below result Traceback (most recent call last):
File "/tmp/MountTest.py", line 8, in <module>
raise Fail("Getting list of mounts (calling mount) failed")
NameError: name 'Fail' is not defined
... View more
11-28-2017
07:37 AM
i tried to manually starting nodemanager login as root : cd /usr/hdp/current/hadoop-yarn-nodemanager/sbi n/ sh yarn-daemon.sh start nodemanger and nodemanager started but when doing same with ambari it is not able to start.
... View more
11-28-2017
06:28 AM
I am tryting to start nodemanager but it is getting stopped , I have tried to see its log (/var/log/hadoop-yarn/yarn ) in the same machine in which nodemanger is installed but there are no logs available. In ambari I tried to see stderr: /var/lib/ambari-agent/data/errors-2756.txt and getting some error like : File "/usr/lib/python2.6/site-packages/resource_management/core/providers/mount.py", line 41, in get_mounted
raise Fail("Getting list of mounts (calling mount) failed")
resource_management.core.exceptions.Fail: Getting list of mounts (calling mount) failed i even checked yarn.nodemanager.log-dirs : /usr/hadoop/yarn/log,/var/run/hadoop/yarn/log,/opt/hadoop/yarn/log, /var/log/hadoop/yarn/log,/data/hadoop/yarn/log but getting No such file or directory in the same machine in which nodemanager is installed . out of four nodemanager only one node manager is running and its logs are available in /var/log/hadoop-yarn/yarn but for other there are no logs.
... View more
Labels:
- Labels:
-
Apache YARN
-
Cloudera Manager
11-10-2017
08:03 AM
I am trying to run a script which contains command hive -f hive.hql . This script asks user to provide input when it gets executed flow of script : sh myscript.sh > output.txt then it asks user to provide input like service name, when user provide input like hive then some hive operations are executed like create , load and drop and all status like logging to hive and OK for creation of table , loading data into table and dropping table get displayed in console but this is not saved in text file. I want to save all this whatever displayed to text file but when hive logging initiates but nothing goes to output.txt .
... View more
Labels:
- Labels:
-
Apache Hive
11-07-2017
11:40 AM
I am creating a table through script , my script is placed at /home/yarn and i am executing the script through yarn user, but i am getting permission error : user= yarn access= write permission denied
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
09-08-2017
07:14 AM
I am executing this curl command ,When I provide files view to a particular user, then in files views, only that user persisted and other users get deleted. admin-> manage amabri -> views > files : here I find only user whom i given access with this curl command but users those were earlier there got deleted curl -i -u $Ambariadmin:$ambaripass -H "X-Requested-By: ambari" -X PUT -d '[{"PrivilegeInfo":{"permission_name":"VIEW.USER","principal_name":"'$username'","principal_type":"USER"}}]' http://localhost:8080/api/v1/views/$viewname/versions/$version/instances/$instance/privileges
... View more
Labels:
- Labels:
-
Apache Ambari