Chris Penny created ZEPPELIN-3764:
-------------------------------------

             Summary: Elegantly Handle Helium Installation Failures
                 Key: ZEPPELIN-3764
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3764
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Chris Penny
         Attachments: Helium.png

While trying to enable '[email protected]', Zeppelin sits on 'enabling' 
(with the spinning icon) indefinitely. This is reflected in the logs with 
progress halting at the installation step:

INFO [2018-09-04 04:15:39,414] (\{qtp2106620844-15} 
NodeTaskExecutor.java[execute]:55) - Running 'npm pack [email protected] 
--registry=http://registry.npmjs.org/' in 
/home/ec2-user/projects/zeppelin.git.8aug/local-repo/helium-bundle
 INFO [2018-09-04 04:15:40,038] (\{Thread-87} InputStreamHandler.java[log]:47) 
- sogou-map-geo-1.0.32.tgz
 INFO [2018-09-04 04:15:40,061] (\{qtp2106620844-15} 
HeliumBundleFactory.java[installNodeModules]:361) - Installing required node 
modules



This also appears to block the installation of any other plugins.

Further investigation shows that this plugin itself may have problems.



[ec2-user@ip-10-16-36-207 ~]$ cd 
/home/ec2-user/projects/zeppelin.git.8aug/local-repo/helium-bundle
[ec2-user@ip-10-16-36-207 helium-bundle]$ npm pack [email protected] 
--registry=http://registry.npmjs.org/
sogou-map-geo-1.0.32.tgz
[ec2-user@ip-10-16-36-207 helium-bundle]$ npm install sogou-map-geo-1.0.32.tgz
npm ERR! Linux 3.10.0-862.9.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" 
"sogou-map-geo-1.0.32.tgz"
npm ERR! node v6.14.3
npm ERR! npm v3.10.10
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: go2map@~1.0.4
npm ERR! notarget Valid install targets:
npm ERR! notarget 1.0.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'sogou-map-geo'
npm ERR! notarget

npm ERR! Please include the following file with any support request:
npm ERR! 
/home/ec2-user/projects/zeppelin.git.8aug/local-repo/helium-bundle/npm-debug.log
[ec2-user@ip-10-16-36-207 helium-bundle]$ npm install -g sogou-map-geo
npm ERR! Linux 3.10.0-862.9.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "sogou-map-geo"
npm ERR! node v6.14.3
npm ERR! npm v3.10.10
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: go2map@~1.0.4
npm ERR! notarget Valid install targets:
npm ERR! notarget 1.0.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'sogou-map-geo'
npm ERR! notarget

npm ERR! Please include the following file with any support request:
npm ERR! 
/home/ec2-user/projects/zeppelin.git.8aug/local-repo/helium-bundle/npm-debug.log


I'm not too worried about the error itself, but it would be nice to propagate 
it back to the user though Zeppelin rather than perpetually 'installing' after 
the failure has occurred. I was also able to replicate this with a fresh clone 
of Zeppelin (4 September).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to