Member since
12-20-2016
18
Posts
0
Kudos Received
0
Solutions
06-28-2017
07:27 AM
@Mugdha Test connection works..The database is on ranger host.. Is the default DB port 3306..?
... View more
06-27-2017
12:44 PM
Hi, Getting these two errors when trying to install ranger, Internal Exception: java.sql.SQLException: No database selected
Error Code: 1046 [E] applying java patch PatchPasswordEncryption_J10001 failed When I googled regarding this, ranger-admin-site.xml has bad/missing values for: - ranger.externalurl - ranger.jpa.audit.jdbc.url - ranger.jpa.jdbc.url Of which I have only one property configured in my blueprint(ranger.jpa.jdbc.url)
what should be the values of this..
It was jdbc:mysql://ip_of_ranger_host Then I changed it to jdbc:mysql://ip_of_ranger_host/ranger Thanks in Advance!
... View more
Labels:
- Labels:
-
Apache Ranger
01-02-2017
05:03 AM
servererror.pngHi, The problem was that i did not add Hbase service to the cluster, also now when i try to add i am facing the following issues, hiveserver2 and history server are not getting started if i try to start history server from ambari i am getting the following error Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 190, in <module>
HistoryServer().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/historyserver.py", line 101, in start
host_sys_prepped=params.host_sys_prepped)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/copy_tarball.py", line 257, in copy_to_hdfs
replace_existing_files=replace_existing_files,
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 459, in action_create_on_execute
self.action_delayed("create")
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 456, in action_delayed
self.get_hdfs_resource_executor().action_delayed(action_name, self)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 255, in action_delayed
self._create_resource()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 269, in _create_resource
self._create_file(self.main_resource.resource.target, source=self.main_resource.resource.source, mode=self.mode)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 322, in _create_file
self.util.run_command(target, 'CREATE', method='PUT', overwrite=True, assertable_result=False, file_to_put=source, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py", line 179, in run_command
_, out, err = get_user_call_output(cmd, user=self.run_user, logoutput=self.logoutput, quiet=False)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_user_call_output.py", line 61, in get_user_call_output
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X PUT --data-binary @/usr/hdp/2.5.3.0-37/hadoop/mapreduce.tar.gz 'http://nnode.aws.atlas.bdaas.com:50070/webhdfs/v1/hdp/apps/2.5.3.0-37/mapreduce/mapreduce.tar.gz?op=CREATE&user.name=hdfs&overwrite=True&permission=444' 1>/tmp/tmp0SGg9U 2>/tmp/tmpf9vt5e' returned 52. curl: (52) Empty reply from server
100 after starting this server, the namenode automatically gets stopped.
... View more
12-22-2016
09:07 AM
Hi, I've been trying to add atlas 0.7 to ambari(2.4) cluster, the following configuration settings were asked to be filled in the customize service tab, atlas.audit.hbase.zookeeper.quorum atlas.graph.index.search.solr.zookeeper-url atlas.graph.storage.hostname I'm not sure what needs to be filled here..the services in the cluster includes HDFS,YARN,MAPREDUCE,TEZ,HIVE,PIG,ZOOKEEPER,RANGER,SLIDER in addition to that kafka was also required by atlas.. I'm getting an error saying "server error" when trying to add atlas, kafka and deploy the cluster.
... View more
Labels:
12-20-2016
06:06 AM
Hi, I've upgraded ambari from 2.2 to 2.4. when ambari was started using "ambari-server start" got the error as follows, DB configs consistency check failed. Run "ambari-server start --skip-database-check" to skip. If you use this "--skip-database-check" option, do not make any changes to your cluster topology or perform a cluster upgrade until you correct the database consistency issues. See "/var/log/ambari-server/ambari-server-check-database.log" for more details on the consistency issues. Ambari database consistency check finished In /var/log/ambari-server/ambari-server-check-database.log 2016-12-20 00:33:28,188 INFO - ******************************* Check database started ******************************* 2016-12-20 00:33:47,630 INFO - Checking for configs not mapped to any cluster 2016-12-20 00:33:47,703 INFO - Checking for configs selected more than once 2016-12-20 00:33:47,762 INFO - Checking for hosts without state 2016-12-20 00:33:47,792 INFO - Checking host component states count equals host component desired states count 2016-12-20 00:33:47,826 INFO - Checking services and their configs 2016-12-20 00:34:00,127 ERROR - Required config(s): usersync-properties,ranger-site is(are) not available for service RANGER with service config version 3 in cluster atlas So instead started ambari using "ambari-server start --skip-database-check" and the it worked fine. In /var/log/ambari-server/ambari-server-check-database.log 2016-12-20 00:34:00,131 INFO - ******************************* Check database completed ******************************* 2016-12-20 00:35:26,917 INFO - Checking DB store version 2016-12-20 00:35:30,076 INFO - DB store version is compatible But if logged into the ambari page, "start services" option is in disabled mode. How to start the services.. Thanks!!
... View more
Labels:
- Labels:
-
Apache Ambari