Created 01-28-2016 11:38 PM
@Ali Bajwa : We were following your github Post : https://github.com/hortonworks-gallery/ambari-zeppelin-service#option-1-deploy-zeppelin-on-existing-...
We got an error when Ambari was installing Zeppelin . OS : CentOS 6.5 . Ambari 2.2 , HDP 2.3.4 . We were installing zeppelin on a node other than the Ambari Server node.
and were getting the following error in our Zeppelin logs
Compiling Zeppelin view... Initialized empty Git repository in /home/zeppelin/iframe-view/.git/ [INFO] Scanning for projects...[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Zeppelin View 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plu... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.039 s [INFO] Finished at: 2016-01-28T16:57:49-05:00 [INFO] Final Memory: 9M/102M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): java.security.ProviderException: java.security.KeyException -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
And the Ambari Stack Trace is :
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py", line 295, in <module> Master().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py", line 119, in install Execute(format("{service_packagedir}/scripts/setup_snapshot.sh {zeppelin_dir} {hive_metastore_host} {hive_metastore_port} {zeppelin_host} {zeppelin_port} {setup_view} >> {zeppelin_log_file}"), user=params.zeppelin_user) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/setup_snapshot.sh /opt/incubator-zeppelin 0.0.0.0 None 172.16.6.142 9995 True >> /var/log/zeppelin/zeppelin-setup.log' returned 1. --2016-01-28 16:57:41-- <a href="https://github.com/hortonworks-gallery/zeppelin-notebooks/archive/master.zip">https://github.com/hortonworks-gallery/zeppelin-notebooks/archive/master.zip</a> Resolving <a href="http://github.com/">github.com</a>... 192.30.252.128 Connecting to <a href="http://github.com/">github.com</a>|192.30.252.128|:443... connected. HTTP request sent, awaiting response... 302 Found Location: <a href="https://codeload.github.com/hortonworks-gallery/zeppelin-notebooks/zip/master">https://codeload.github.com/hortonworks-gallery/zeppelin-notebooks/zip/master</a> [following] --2016-01-28 16:57:42-- <a href="https://codeload.github.com/hortonworks-gallery/zeppelin-notebooks/zip/master">https://codeload.github.com/hortonworks-gallery/zeppelin-notebooks/zip/master</a> Resolving <a href="http://codeload.github.com/">codeload.github.com</a>... 192.30.252.162 Connecting to <a href="http://codeload.github.com/">codeload.github.com</a>|192.30.252.162|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 448310 (438K) [application/zip] Saving to: ?notebooks.zip? 0K .......... .......... .......... .......... .......... 11% 324K 1s 50K .......... .......... .......... .......... .......... 22% 651K 1s 100K .......... .......... .......... .......... .......... 34% 1.15M 1s 150K .......... .......... .......... .......... .......... 45% 1.36M 0s 200K .......... .......... .......... .......... .......... 57% 665K 0s 250K .......... .......... .......... .......... .......... 68% 1.17M 0s 300K .......... .......... .......... .......... .......... 79% 1.40M 0s 350K .......... .......... .......... .......... .......... 91% 71.9M 0s 400K .......... .......... .......... ....... 100% 78.8M=0.5s 2016-01-28 16:57:43 (946 KB/s) - ?notebooks.zip? saved [448310/448310]
Let us know if we are missing something. Let us know if we can provide more info about this in order to debug this.
Mangesh
Created 02-02-2016 06:26 PM
Hi all ,
I have solved the issue. It was a java.security.ProviderException: java.security.KeyException . I did a
yum install nss
and that resolved it.
Thanks
Created 02-02-2016 02:17 AM
@Ali Bajwa your input requested
Created 02-02-2016 02:18 AM
are you still having issues? Did you retry? Looks like maven was not available at the time.
Created 02-02-2016 04:13 PM
@Mangesh Kaslikar if you're still running into trouble, please list the steps/commands you executed so others can try to reproduce your issue. Thanks.
Created 02-02-2016 06:26 PM
Hi all ,
I have solved the issue. It was a java.security.ProviderException: java.security.KeyException . I did a
yum install nss
and that resolved it.
Thanks
Created 02-03-2016 05:18 PM
Awesome! I was able to create the issue and verify the workaround you've posted. As an FYI to others, here are the detailed steps to resolve this issue:
yum install -y git VERSION=`hdp-select status hadoop-client | sed 's/hadoop-client - \([0-9]\.[0-9]\).*/\1/'` sudo git clone https://github.com/hortonworks-gallery/ambari-zeppelin-service.git /var/lib/ambari-server/resources/stacks/HDP/$VERSION/services/ZEPPELIN sudo service ambari-server restart
yum install -y nss