Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1725

Downloading dependency/changing version for an interpreter results in error sometimes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • zeppelin-interpreter
    • None

    Description

      At times on downloading dependency/changing version for an interpreter results in error

       INFO [2016-11-29 11:16:52,998] ({qtp60559178-18} InterpreterRestApi.java[updateSetting]:137) - Update interpreterSetting 2C2ENJBEV
      ERROR [2016-11-29 11:16:53,047] ({Thread-61} InterpreterFactory.java[run]:494) - Error while downloading repos for interpreter group : jdbc, go to interpreter setting page click on edit and save it again to make this interpreter work properly. : File does not exist: /Users/xxx/local-repo/2C2ENJBEV/twill-zookeeper-0.6.0-incubating.jar
      java.io.FileNotFoundException: File does not exist: /Users/xxx/local-repo/2C2ENJBEV/twill-zookeeper-0.6.0-incubating.jar
      	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275)
      	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      	at org.apache.zeppelin.interpreter.InterpreterFactory$3.run(InterpreterFactory.java:470)
      ERROR [2016-11-29 11:16:53,047] ({Thread-64} InterpreterFactory.java[run]:494) - Error while downloading repos for interpreter group : jdbc, go to interpreter setting page click on edit and save it again to make this interpreter work properly. : File does not exist: /Users/xxx/local-repo/2C2ENJBEV/zookeeper-3.4.6.jar
      java.io.FileNotFoundException: File does not exist: /Users/xxx/local-repo/2C2ENJBEV/zookeeper-3.4.6.jar
      	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275)
      	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      	at org.apache.zeppelin.interpreter.InterpreterFactory$3.run(InterpreterFactory.java:470)
      

      but on re-saving it works fine.
      Steps to reproduce:
      Configure following as dependencies in JDBC

      org.apache.hive:hive-jdbc:2.0.1	
      org.apache.hadoop:hadoop-common:2.7.1	
      org.apache.hive.shims:hive-shims-0.23:2.1.0	
      org.apache.phoenix:phoenix-core:4.7.0-HBase-1.1
      

      now try changing one of it, say "org.apache.hadoop:hadoop-common:2.7.1" to "org.apache.hadoop:hadoop-common:2.6.0"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            prabhjyotsingh Prabhjyot Singh
            kbadani Kshitij Badani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment