Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4197

DiagnosisInfoCLI block forever at "beeline --version"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v3.1.0, v3.0.1
    • None
    • None

    Description

      When using "sh bin/diag.sh xxx xxx" in CDH 5.7, it will blocked at "beeline --version" in HDP2.4 .

      Executing "beeline --version" will enter interactive shell in some hadoop distribution.

      jstack 26111

      "main" #1 prio=5 os_prio=0 tid=0x00007fae18029800 nid=0x6672 waiting on condition [0x00007fae1cefe000]
         java.lang.Thread.State: TIMED_WAITING (parking)
      	at sun.misc.Unsafe.park(Native Method)
      	- parking to wait for  <0x00000000f4d89348> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
      	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
      	at org.apache.kylin.tool.DiagnosisInfoCLI.executeExtract(DiagnosisInfoCLI.java:266)
      	at org.apache.kylin.tool.AbstractInfoExtractor.execute(AbstractInfoExtractor.java:117)
      	at org.apache.kylin.common.util.AbstractApplication.execute(AbstractApplication.java:37)
      	at org.apache.kylin.tool.DiagnosisInfoCLI.main(DiagnosisInfoCLI.java:102)
      

      jps -m

      [root@cdh-client ~]# jps -m
      4982 RunJar /root/wangrupeng/kylin-spark/KYLIN-4187-hbase/bin/../tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap start
      6823 ConsoleProducer --topic useraction_3 --broker-list cdh-master:9092,cdh-worker-1:9092,cdh-worker-2:9092
      32408 Bootstrap start
      26955 BeeLine --version
      28796 Jps -m
      26111 DiagnosisInfoCLI -project -all -destDir haha1
      

      std out

      afb132f0e6f1/recovered.edits/2.seqid
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/root/xiaoxiang.yu/kylin-dist/apache-kylin-3.0.0-SNAPSHOT-bin-4081-master/tool/kylin-tool-3.0.0-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-5.7.6-1.cdh5.7.6.p0.6/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
      Hive 1.1.0-cdh5.7.6
      Subversion file:///data/jenkins/workspace/generic-package-rhel64-6-0/topdir/BUILD/hive-1.1.0-cdh5.7.6 -r Unknown
      Compiled by jenkins on Tue Feb 21 14:49:03 PST 2017
      From source with checksum 2e88d4c1b4053829c847d58bf016afd1
      Beeline version 1.2.1.spark2 by Apache Hive
      

      Attachments

        Issue Links

          Activity

            People

              hit_lacus Xiaoxiang Yu
              hit_lacus Xiaoxiang Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: