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

zeppelin on k8s start throw Fail to create TServerSocket

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      zeppelin server and interperter run in the kuberneters 

    • Docs Text:
      Hide
      6 INFO [2021-04-29 06:31:26,765] ({Thread-16} InterpreterSetting.java[setStatus]:734) - Set interpreter mysql status to READY
       127 INFO [2021-04-29 06:31:26,765] ({Thread-16} LocalConfigStorage.java[save]:53) - Save Interpreter Setting to /zeppelin/conf/interpreter.json
       128 INFO [2021-04-29 06:31:26,793] ({Thread-15} InterpreterSetting.java[run]:977) - Finish downloading dependencies for interpreter: hive
       129 INFO [2021-04-29 06:31:26,793] ({Thread-15} InterpreterSetting.java[setStatus]:734) - Set interpreter hive status to READY
       130 INFO [2021-04-29 06:31:26,793] ({Thread-15} LocalConfigStorage.java[save]:53) - Save Interpreter Setting to /zeppelin/conf/interpreter.json
       131 Exception in thread "Thread-17" java.lang.RuntimeException: Fail to create TServerSocket
       132 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:113)
       133 Caused by: java.io.IOException: No available port in the portRange: 12320:12320
       134 at org.apache.zeppelin.interpreter.remote.RemoteInterpreterUtils.findAvailablePort(RemoteInterpreterUtils.java:78)
       135 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:103)
       136 INFO [2021-04-29 06:31:37,677] ({qtp322836221-17} NotebookServer.java[onOpen]:247) - New connection from 172.30.192.49:41914
      Show
      6 INFO [2021-04-29 06:31:26,765] ({Thread-16} InterpreterSetting.java[setStatus]:734) - Set interpreter mysql status to READY  127 INFO [2021-04-29 06:31:26,765] ({Thread-16} LocalConfigStorage.java[save]:53) - Save Interpreter Setting to /zeppelin/conf/interpreter.json  128 INFO [2021-04-29 06:31:26,793] ({Thread-15} InterpreterSetting.java[run]:977) - Finish downloading dependencies for interpreter: hive  129 INFO [2021-04-29 06:31:26,793] ({Thread-15} InterpreterSetting.java[setStatus]:734) - Set interpreter hive status to READY  130 INFO [2021-04-29 06:31:26,793] ({Thread-15} LocalConfigStorage.java[save]:53) - Save Interpreter Setting to /zeppelin/conf/interpreter.json  131 Exception in thread "Thread-17" java.lang.RuntimeException: Fail to create TServerSocket  132 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:113)  133 Caused by: java.io.IOException: No available port in the portRange: 12320:12320  134 at org.apache.zeppelin.interpreter.remote.RemoteInterpreterUtils.findAvailablePort(RemoteInterpreterUtils.java:78)  135 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:103)  136 INFO [2021-04-29 06:31:37,677] ({qtp322836221-17} NotebookServer.java[onOpen]:247) - New connection from 172.30.192.49:41914

      Description

      the core error logs is :

      1 Exception in thread "Thread-17" java.lang.RuntimeException: Fail to create TServerSocket
      132 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:113)
      133 Caused by: java.io.IOException: No available port in the portRange: 12320:12320
      134 at org.apache.zeppelin.interpreter.remote.RemoteInterpreterUtils.findAvailablePort(RemoteInterpreterUtils.java:78)
      135 at org.apache.zeppelin.interpreter.RemoteInterpreterEventServer$1.run(RemoteInterpreterEventServer.java:103)

      but InterpreterEventServer has runed int the before we can see the log :

      39 WARN [2021-04-29 06:31:26,039] ({main} LocalConfigStorage.java[loadNotebookAuthorization]:77) - NotebookAuthorization file /zeppelin/conf/notebook-authorization.json is not existed
      40 INFO [2021-04-29 06:31:26,190] ({Thread-14} RemoteInterpreterEventServer.java[run]:106) - InterpreterEventServer is starting at 10.244.5.203:12320
      41 INFO [2021-04-29 06:31:26,687] ({main} RemoteInterpreterEventServer.java[start]:134) - RemoteInterpreterEventServer is started

      so that is mean the RemoteInterpreterEventServer 

      run again so the error happen ,  

       

       

       

        Attachments

        1. interpreter.json
          12 kB
          housezhang
        2. image-2021-05-08-17-30-19-643.png
          140 kB
          housezhang
        3. tt.txt
          196 kB
          housezhang

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              housezhang housezhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m