Member since
03-04-2016
165
Posts
35
Kudos Received
7
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1668 | 06-20-2017 03:08 PM | |
8739 | 05-11-2017 09:59 AM | |
8829 | 01-12-2017 01:50 PM | |
1279 | 10-26-2016 03:02 PM | |
5208 | 09-06-2016 07:40 AM |
02-27-2022
11:00 PM
1 Kudo
This solution is works for me on HDP 3.1.4 Ambari 2.7 Thanks for sharing.
... View more
06-14-2021
08:13 AM
A bit late to the party, but hope the following will help. By calling the main functions of the classes, UnixUserGroupBuilder, PolicyMgrUserGroupBuilder or LdapUserGroupBuilder is not going to work, since the main classes of these are only initializing the classes. In order to start the actual sync, the function updateSink needs to be called. During startup this is handled by the class org.apache.ranger.usergroupsync.UserGroupSync thus, calling its main function will trigger the syncing using the configuration that you set in your cluster. A complete example for triggering the usersync manually could be: java -Dlogdir=/var/log/ranger/usersync -cp "/usr/hdp/current/ranger-usersync/dist/unixusersync-1.2.0.3.1.5.135-2.jar:/usr/hdp/current/ranger-usersync/lib/*:/etc/ranger/usersync/conf" org.apache.ranger.usergroupsync.UserGroupSync for HDP and java -Dlogdir=/var/log/ranger/usersync -cp "/opt/cloudera/parcels/CDH/lib/ranger-usersync/dist/unixusersync-2.1.7.1.7.0-460.jar:/opt/cloudera/parcels/CDH/lib/ranger-usersync/lib/*:/etc/ranger/usersync/conf" org.apache.ranger.usergroupsync.UserGroupSync for CDP.
... View more
06-30-2020
01:06 AM
I see that you use Active DIrecyory Did you use the below property? +++ <property> <name>hive.server2.authentication.ldap.Domain</name> <value>AD_Domain</value> </property> +++
... View more
01-22-2020
12:41 AM
I faced the same exception with Ambari 2.7.1 with different scenario. The scenario happens like that: I was trying to install Apache Solr with HDP Search as mpack. I wrongly installed the old version of mpack and when I restart the Ambari, Ambari couldn't open. I looked into ambari-server.log and the error was like below: An unexpected error occured during starting Ambari Server. com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting method, java.lang.NullPointerException at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:250) at org.apache.ambari.server.api.services.AmbariMetaInfo.class(AmbariMetaInfo.java:123) while locating org.apache.ambari.server.api.services.AmbariMetaInfo for field at org.apache.ambari.server.controller.AmbariServer.ambariMetaInfo(AmbariServer.java:179) at org.apache.ambari.server.controller.AmbariServer.class(AmbariServer.java:179) while locating org.apache.ambari.server.controller.AmbariServer 1 error at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1028) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1054) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1101) Caused by: java.lang.NullPointerException at org.apache.ambari.server.stack.StackModule.mergeRoleCommandOrder(StackModule.java:1336) at org.apache.ambari.server.stack.StackModule.finalizeModule(StackModule.java:244) at org.apache.ambari.server.stack.StackManager.fullyResolveStacks(StackManager.java:413) at org.apache.ambari.server.stack.StackManager.<init>(StackManager.java:186) at org.apache.ambari.server.stack.StackManager$$FastClassByGuice$$33e4ffe0.newInstance(<generated>) at I tried to start ambari-server as you said with --skip-database-check but it still couldn't open. Then I install the mpack with the same version before it down again, with this command: sudo ambari-server install-mpack --mpack=/tmp/hdf-ambari-mpack-3.2.0.0-520.tar.gz --verbose and I restart the ambari-server. Then ambari-server works without problem and I can access Ambari from web. Perhaps it helps.
... View more
05-28-2018
01:56 PM
Can you specify the location of json files which needs to be checked.
... View more
05-11-2017
07:22 AM
@saravanan gopalsamy
Great to know that your issue is resolved. It will be wonderful if you can click on the "Accept" button on this thread to mark this comment as answered, that helps community users to quickly find out the correct answer.
... View more
05-22-2017
01:28 AM
These are the errors in thrift server logs: Caused by: org.apache.thrift.transport.TTransportException: Invalid status 80
at org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232)
at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:184)
at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271)
at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
... 5 more
... View more
10-09-2018
01:35 PM
It is recommended to disable the cron in zeppelin as there is no validation if the user is allowed to run as the hive/hdfs or any other user specified in the cron field, meaning any user can set it to be run as any user. disbale is possible from 2.6.5, for previous versiosn please engage the hortonworks support.
... View more
05-09-2017
09:36 PM
Thanks for your explanation @Michael Young ! Helped a lot.
... View more