Member since
01-07-2016
33
Posts
15
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2102 | 02-13-2017 03:12 PM | |
1476 | 12-21-2016 02:41 PM | |
1141 | 11-21-2016 10:54 PM |
12-31-2016
07:17 PM
Change the livy.spark.master to yarn cluster and add the following environment variable in the zeppelin-env from ambari export PYSPARK_DRIVER_PYTHON=path_to_python2.7
export PYSPARK_PYTHON=path_to_python2.7
After this restart livy spark interpreter started to work.
... View more
Labels:
12-31-2016
07:05 PM
1 Kudo
Error: %jdbc (Hive)
java.util.ServiceConfigurationError: javax.xml.parsers.DocumentBuilderFactory: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:294)
at java.security.AccessController.doPrivileged(Native Method)
at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:120)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2549)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2526)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2418)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1143)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1115) SOLUTION: Copy the following jars :
xercesImpl*.jar and xml-apis* For eg: Can be found by running locate xercesImpl* on any of the node in he cluster copy /usr/hdp/<hadoop-version>/hadoop/client/xercesImpl-2.9.1.jar to:
/usr/hdp/current/zeppelin-server/interpreter/jdbc/ Restart the interpreter
... View more
Labels:
12-31-2016
06:46 PM
1 Kudo
Error: at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUtil.java:302)
at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(CredentialsUtil.java:120)
at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:458)
at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:693)
... 43 more
Caused by: KrbException: Identifier doesn't match expected value (906)
at sun.security.krb5.internal.KDCRep.init(KDCRep.java:140)
at sun.security.krb5.internal.TGSRep.init(TGSRep.java:65)
at sun.security.krb5.internal.TGSRep.<init>(TGSRep.java:60)
at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:55)
... 49 more
16/11/29 13:13:12 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
Cause: The cause for this issue was that there were multiple accounts in the Active Directory that had a servicePrincipalName value containing the Zookeeper principal names - "zookeeper/<hostname>". This was found by issuing an ldapsearch like: ldapsearch -h <host> -D <user principal> -W -b "<bind dn - something high in the tree>" '(servicePrincipalName=zookeeper/<zk server hostname>)' dn
This request found 2 accounts that contained the requested SPN. One way to know this may be an issue is after authenticating (kinit-ing) as any valid user, issue a kvno command like kvno zookeeper/abc.ambari.apache.org If this fails but a different service principal (like nn/abc.ambari.apache.org) succeeds, then the above cause may be the problem. Solution: Find all duplicated SPN values and remove the non-Ambari-managed ones from the Active Directory. Then restart all of the services. Optionally all of the Keytab files can be regenerated to make sure all is in a good state.
... View more
12-23-2016
09:22 PM
3 Kudos
Hi @Huahua Wei Please refer to following for fixing data loss: https://access.redhat.com/solutions/369383
... View more
12-23-2016
09:16 PM
1 Kudo
Hi @Sami Ahmad Did you restart ambari server after doing security setup? Thanks, Deepak
... View more
12-21-2016
04:23 PM
1 Kudo
Hi @dmitry That is known OS issue. What i did to circumvent this was: On ambari server host. under /var/lib/ambari-server/resources/scripts you will find a script called configs.sh, Change the value of the zeppelin PID directory as below: STOP zeppelin Service. /configs.sh -u $ambari_user -p $password get localhost $cluster_name zeppelin-env id -a zeppelin /configs.sh -u $ambari_user -p $password set localhost $cluster_name zeppelin-env "zeppelin_pid_dir" "/var/run/user/<zeppelin ID>/zeppelin" mkdir -p /var/run/user/<zeppelin ID>/zeppelin chown -R zeppelin:zeppelin /var/run/user and then start the zeppelin service from ambari. You should now see the new PID location under advanced zeppelin env Please restart the server after this and see if the value holds. Thanks, Deepak
... View more
12-21-2016
02:41 PM
The issue was the password where in different password was set for for keystore and key password. Keeping both same resolved the issue of starting zeppelin service.
... View more
12-09-2016
05:18 PM
I am trying to setup Zeppelin SSl however service cannot start as it cannot bind to port 9995. There is no fw and iptables is disabled. Have gone through the ssl setting passowrds are correct and am able to list keystores. Seeing the following in the error logs: WARN [2016-12-09 15:01:52,636] ({main} AbstractLifeCycle.java[setFailed]:212) - FAILED org.eclipse.jetty.server.Server@349403b0: java.security.UnrecoverableKeyException: Cannot recover key
java.security.UnrecoverableKeyException: Cannot recover key
... View more
Labels:
- Labels:
-
Apache Zeppelin
11-21-2016
10:54 PM
Hi @hitaay Please find the following link where you can find the best practices at the bottom of the page. http://hortonworks.com/blog/configure-elastic-search-hadoop-hdp-2-0/ Thanks,
Deepak
... View more
02-29-2016
03:06 PM
@Cassandra Spencer Also make sure /etc/hosts reflects the new hostnames as well and /etc/sysconfig/network has a HOSTNAME entry to make it persistent across reboots.
... View more
- « Previous
-
- 1
- 2
- Next »