Member since
05-29-2017
408
Posts
123
Kudos Received
9
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2787 | 09-01-2017 06:26 AM | |
1699 | 05-04-2017 07:09 AM | |
1460 | 09-12-2016 05:58 PM | |
2074 | 07-22-2016 05:22 AM | |
1626 | 07-21-2016 07:50 AM |
02-27-2017
02:02 PM
I disabled kerberos but now ambari-server not getting start and failing with following error. Can someone please help me. 27 Feb 2017 08:55:14,166 WARN [main] KerberosChecker:81 - /etc/security/keytabs/ambari.server.keytab doesn't exist. 27 Feb 2017 08:55:14,174 ERROR [main] KerberosChecker:115 - Unable to obtain password from user 27 Feb 2017 08:55:14,175 ERROR [main] AmbariServer:927 - Failed to run the Ambari Server org.apache.ambari.server.AmbariException: Ambari Server Kerberos credentials check failed. Check KDC availability and JAAS configuration in /etc/ambari-server/conf/krb5JAASLogin.conf at org.apache.ambari.server.controller.utilities.KerberosChecker.checkJaasConfiguration(KerberosChecker.java:116) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:922)
... View more
Labels:
- Labels:
-
Apache Ambari
-
Kerberos
-
Security
02-20-2017
09:57 AM
Team, I am trying to get owner of a hdfs file via java, can someone please guid me how to get owner of hdfs files.
... View more
Labels:
- Labels:
-
Apache Oozie
02-06-2017
06:01 PM
I tried to tail the log but it was not updating.
... View more
02-06-2017
10:29 AM
When we installed any components vi amabri then it run yum install command in the background and if components is big in size then it takes time. 2017-02-06 05:23:04,413 - Installing package ambari-metrics-hadoop-sink ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-hadoop-sink') So i want to know that is there any way where we can check how much % it is completed and how much is remaining like we get this status in command line tool. p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo} [root@w1 ~]# yum install ambari-metrics-monitor Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: bay.uchicago.edu * extras: mirrors.cmich.edu * updates: mirrors.cmich.edu Resolving Dependencies p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; min-height: 15.0px} Dependencies Resolved ================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================ Installing: ambari-metrics-monitor x86_64 2.4.1.0-22 Updates-ambari-2.4.1.0 176 k Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k cpp x86_64 4.4.7-17.el6 base 3.7 M gcc x86_64 4.4.7-17.el6 base 10 M mpfr x86_64 2.4.1-6.el6 base 157 k ppl x86_64 0.10.2-11.el6 base 1.3 M python-devel x86_64 2.6.6-66.el6_8 updates 173 k Updating for dependencies: libgcc x86_64 4.4.7-17.el6 base 103 k libgomp x86_64 4.4.7-17.el6 base 134 k python x86_64 2.6.6-66.el6_8 updates 76 k python-libs x86_64 2.6.6-66.el6_8 updates 5.3 M Transaction Summary ================================================================================================================================================================================ Install 7 Package(s) Upgrade 4 Package(s) Total size: 21 M Total download size: 17 M Is this ok [y/N]: y Downloading Packages: (1/8): gcc-4.4.7-17.el6.x86_64.rpm | 10 MB 00:05 (2/8): libgcc-4.4.7-17.el6.x86_64.rpm | 103 kB 00:02 (3/8): libgomp-4.4.7-17.el6.x86_64.rpm | 134 kB 00:03 (4/8): mpfr-2.4.1-6.el6.x86_64.rpm | 157 kB 00:04 http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm: [Errno 12] Timeout on http://bay.uchicago.edu/centos/6.8/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds') Trying other mirror. (5/8): ppl-0.10.2-11.el6.x86_64.rpm | 1.3 MB 00:02 (6/8): python-2.6.6-66.el6_8.x86_64.rpm | 76 kB 00:03 (7/8): python-devel-2.6.6-66.el6_8.x86_64.rpm | 173 kB 00:02 (8/8): python-libs-2.6.6-66.el6_8.x86_64.rpm | 5.3 MB 00:36 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
02-04-2017
04:00 AM
Thanks a lot @swagle. I have commented this backup call function and now it is not creating backup copy. Thanks once again. # update properties in a section-less properties file # Cannot use ConfigParser due to bugs in version 2.6 def update_properties(propertyMap): conf_file = search_file(AMBARI_PROPERTIES_FILE, get_conf_dir()) #backup_file_in_temp(conf_file) if propertyMap is not None and conf_file is not None: properties = Properties() try: with open(conf_file, 'r') as file: properties.load(file) except (Exception), e: print_error_msg('Could not read "%s": %s' % (conf_file, e)) return -1 for key in propertyMap.keys(): properties.removeOldProp(key) properties.process_pair(key, str(propertyMap[key])) for key in properties.keys(): if not propertyMap.has_key(key): properties.removeOldProp(key) with open(conf_file, 'w') as file: properties.store_ordered(file)
... View more
02-03-2017
01:39 PM
@swagleWe have integrated ambari with ldap and this ambari.properties contains all required ldap details. Sorry but my question is not like we have sensitive data or not, my question is why it is creating backup copy of this file and how we can prevent it.
... View more
02-02-2017
10:07 AM
@Jay SenSharma: Can you please help me to get dir last accessed time also. Above one is not working for dir.
... View more
02-02-2017
09:06 AM
@chennuri gouri shankar: This file has sensitive data if you have synced your ambari server with ldap. So we can not let it create. And changing permission is not a solution as next time when I will restart I will change permission.
... View more
02-02-2017
07:44 AM
1 Kudo
Team, I am using ambari 2.4 and hdp 2.3.4. When I restart ambari server then it is creating a duplicate copy of ambari.properties in /tmp which is not secure. So can someone please help me to find out which script is doing it and how can I disable it. p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Menlo}
span.s1 {color: #4c7aff}
span.s2 {color: #ff3b1d} [root@m1 conf]# ls -ltrh /tmp/ total 132K drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext1243975442881451335 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext6393915526385492672 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext1984195690767815765 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext8641365562607738757 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext1515414610693529637 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext7330878179580795461 drwxr-xr-x 3 root root 4.0K Jan 25 05:30 JettyContext1541464222736920443 -rw-r--r-- 1 root root 3.1K Jan 25 05:35 ehcache-sizeof-agent2983391407808801967.jar drwxr-xr-x 3 root root 4.0K Jan 25 07:57 sqoop-root drwxr-xr-x 2 hdfs root 4.0K Jan 31 04:50 hadoop-hdfs drwxr-xr-x 2 zookeeper hadoop 4.0K Jan 31 04:50 hsperfdata_zookeeper drwxr-xr-x 2 kafka hadoop 4.0K Jan 31 04:51 hsperfdata_kafka drwxr-xr-x 3 hdfs hadoop 4.0K Jan 31 10:55 Jetty_0_0_0_0_8480_journal____.8g4awa drwxr-xr-x 3 hdfs hadoop 4.0K Jan 31 10:56 Jetty_m1_hdp22_50070_hdfs____3u7krk drwxr-xr-x 2 hdfs hadoop 4.0K Jan 31 10:58 hsperfdata_hdfs drwxr-xr-x 2 solr solr 4.0K Jan 31 13:14 hsperfdata_solr drwxr-xr-x 2 yarn hadoop 4.0K Jan 31 20:21 hsperfdata_yarn drwxr-xr-x 4 yarn hadoop 4.0K Jan 31 20:21 Jetty_0_0_0_0_8088_cluster____u0rgz3 drwxr-xr-x 3 root root 4.0K Jan 31 20:38 JettyContext333136355251859560 drwxr-xr-x 3 root root 4.0K Jan 31 20:38 JettyContext4954089569274302233 drwxr-xr-x 3 root root 4.0K Jan 31 20:38 JettyContext744074219330931424 drwxr-xr-x 3 root root 4.0K Jan 31 20:38 JettyContext7325769951007858045 -rw------- 1 root root 125 Jan 31 20:39 masterkey -rw-r--r-- 1 root root 7.7K Jan 31 20:49 ambari.properties.1
... View more
Labels:
- Labels:
-
Apache Ambari
02-01-2017
10:09 AM
@mqureshi. This property was set to 0 but later I changed it and I used Jay's suggestion to make it work. Thanks for your help.
... View more