Member since
09-06-2017
14
Posts
1
Kudos Received
0
Solutions
10-16-2018
01:30 PM
I am trying to update multiple policies in a particular service simultaneously. Using the below command i am getting all the policies in a particular service curl -vk -H "Content-type:application/json" --netrc-file my-password-file -X GET http://localhost:6080/service/public/v2/api/service/POC_hadoop/policy -o rangerpolicies.json In the file obtained i.e. rangerpolicies.json , i am updating a few properties. While updating, using the put command, i am facing error which i have attached as attachment. error.txt The command used:- curl -vk "Content-type:application/json" --netrc-file my-password-file -X PUT -d @rangerpolicies.json http://localhost:6080/service/public/v2/api/service/POC_hadoop/policy/ A single policy-wise, i am able to update, but is this option not available at service level? Also, is there any workaround available, because to update all policies one by one in case of 100+ policies is not feasible. Ranger version :0.7 Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Ranger
10-16-2018
01:30 PM
What is the the use of the the active status- enable/disable tab while creating a new ranger service? If the service is disabled, will the policies in the service not work anymore? I tried it, but they still work even after disabling the service. Ranger version=0.7
... View more
Labels:
- Labels:
-
Apache Ranger
03-22-2018
04:56 AM
@Frank Lu @Kit Menke Please can you help with this one?
... View more
03-21-2018
01:29 PM
When I Sqoop data from Teradata to Hive, I am running the command sqoop import --connect jdbc:teradata://link/database=db --connection-manager org.apache.sqoop.teradata.TeradataConnManager --username user -P --table table --hive-import -m 1 and getting the following error- 18/03/21 14:13:50 INFO teradata.TeradataSqoopImportHelper: Setting source table to : table 18/03/21 14:13:51 INFO common.ConnectorPlugin: load plugins in jar:file:/usr/hdp/current/hadoop/lib/teradata-connector-1.5.2-hadoop2.jar!/teradata.connector.plugins.xml
18/03/21 14:13:52 INFO teradata.TeradataSqoopImportHelper: Teradata import job completed with exit code 1
Exception in thread "main" java.lang.NoSuchFieldError: METASTORE_BATCH_RETRIEVE_OBJECTS_MAX
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:221)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:209)
at com.teradata.connector.hive.utils.HiveUtils.isHiveOutputTablePartitioned(HiveUtils.java:1140)
at com.teradata.connector.common.tool.ConfigurationMappingUtils.importConfigurationMapping(ConfigurationMappingUtils.java:321)
at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:364)
at org.apache.sqoop.teradata.TeradataConnManager.importTable(TeradataConnManager.java:505)
at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:507) Any help is highly appreciated and thanks in advance..
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Sqoop
03-19-2018
08:40 AM
@Jay Kumar SenSharmaThank you so much for your swift response , I wanted to confirm one thing more. If, for example I reset my admin password for mysql/ranger will that affect any service because I have database of ranger, oozie and ambari in that or in case of ranger i have policies for services there. I think not but just wanted to confirm. Also. if there does not exist any common place / configuration to update all the individual components can i achieve this with a script? using curl commands to call to change password?
... View more
03-19-2018
07:30 AM
1 Kudo
I want to reset my admin password for all the major components of Ambari namely, the ambari webui, mysql, smartsense, ranger etc. After I reset the password of all these places (for the admin user), what places are to be updated after such a reset is done so that my cluster doesn't get affected.. might be those places from where the admin password is being referred? Or the system updates such all those places on its own and we don't need to make any manual changes? I need to check if this won't pose a problem before all the password reset..and none of my services will get affected. thanks in advance.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Ranger
02-27-2018
11:57 AM
I faced the same issue and on application of these commands it worked but Even after the hst server/agent are up, smartsense is still not able to collect data. The queries are not populating any data. Why is that happening? @Jay Kumar SenSharma Please can you help.
... View more
09-07-2017
07:36 AM
@Jay SenSharma Please can you help with how can i access these tables. some of my Tez jobs and all of my Spark jobs are not entering activity.job table. hence it is not giving many jobs in the output. I did left outer join so that i get all jobs but why is it happening?
... View more
09-07-2017
07:33 AM
@Josh Elser Please can you help with this?
... View more
09-07-2017
07:32 AM
I did LEFT OUTER JOIN on this and and it seems to work but i have another issue. The time of the job fetched by the zeppelin smart sense query and that of the same job on RM UI is different by two hours, how do i change that? i did the following-> 1) Go to HBASE -> Configs -> Custom hbase-site. Add the property
phoenix.query.dateFormatTimeZone=GMT+08:00 2) using the "timeZone" option in the Phoenix Thin Driver's but it doesn't seem to work. Is there anything else i can do?
... View more