You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "wenjun ma (Jira)" <ji...@apache.org> on 2020/07/16 18:18:00 UTC
[jira] [Assigned] (HIVE-22932) Unable to kill Beeline with Ctrl+C
[ https://issues.apache.org/jira/browse/HIVE-22932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wenjun ma reassigned HIVE-22932:
--------------------------------
Assignee: wenjun ma
> Unable to kill Beeline with Ctrl+C
> ----------------------------------
>
> Key: HIVE-22932
> URL: https://issues.apache.org/jira/browse/HIVE-22932
> Project: Hive
> Issue Type: Bug
> Reporter: Renukaprasad C
> Assignee: wenjun ma
> Priority: Blocker
>
> Stopped the server and tried to stop the beeline console with "Ctrl+C". But it unable to kill the process & gets process gets hanged.
> Read call got blocked.
> Attached the thread dump.
> 0: jdbc:hive2://localhost:10000> show tables;
> Unknown HS2 problem when communicating with Thrift server.
> Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe (state=08S01,code=0)
> 0: jdbc:hive2://localhost:10000> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> 2020-02-26 17:40:42
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.72-b15 mixed mode):
> "NonBlockingInputStreamThread" #16 daemon prio=5 os_prio=0 tid=0x00007f0318c10800 nid=0x258c in Object.wait() [0x00007f031c193000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at java.lang.Thread.run(Thread.java:745)
> "Service Thread" #11 daemon prio=9 os_prio=0 tid=0x00007f032006c000 nid=0x257b runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C1 CompilerThread3" #10 daemon prio=9 os_prio=0 tid=0x00007f0320060800 nid=0x257a waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread2" #9 daemon prio=9 os_prio=0 tid=0x00007f0320056000 nid=0x2579 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread1" #8 daemon prio=9 os_prio=0 tid=0x00007f0320054000 nid=0x2578 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread0" #7 daemon prio=9 os_prio=0 tid=0x00007f0320051000 nid=0x2577 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "JDWP Event Helper Thread" #6 daemon prio=10 os_prio=0 tid=0x00007f032004f000 nid=0x2576 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "JDWP Transport Listener: dt_socket" #5 daemon prio=10 os_prio=0 tid=0x00007f032004b800 nid=0x2575 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f0320035800 nid=0x2574 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f0320003800 nid=0x2572 in Object.wait() [0x00007f0324b1c000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe930770> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
> - locked <0x00000000fe930770> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
> "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00000000006a6000 nid=0x2571 in Object.wait() [0x00007f0324c1d000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe9307b0> (a java.lang.ref.Reference$Lock)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
> - locked <0x00000000fe9307b0> (a java.lang.ref.Reference$Lock)
> at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
> "main" #1 prio=5 os_prio=0 tid=0x0000000000628800 nid=0x2567 runnable [0x00007f033a60b000]
> java.lang.Thread.State: RUNNABLE
> at java.io.FileInputStream.readBytes(Native Method)
> at java.io.FileInputStream.read(FileInputStream.java:255)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> - locked <0x00000000fe9113e0> (a java.io.BufferedInputStream)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246)
> at jline.internal.InputStreamReader.read(InputStreamReader.java:261)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.InputStreamReader.read(InputStreamReader.java:198)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:2349)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:2269)
> at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:1280)
> at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1071)
> at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:538)
> at org.apache.hive.beeline.BeeLine.main(BeeLine.java:520)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
> "VM Thread" os_prio=0 tid=0x000000000069e800 nid=0x2570 runnable
> "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x000000000063d800 nid=0x2568 runnable
> "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x000000000063f800 nid=0x2569 runnable
> "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000000000641000 nid=0x256a runnable
> "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000000000643000 nid=0x256b runnable
> "GC task thread#4 (ParallelGC)" os_prio=0 tid=0x0000000000644800 nid=0x256c runnable
> "GC task thread#5 (ParallelGC)" os_prio=0 tid=0x0000000000646800 nid=0x256d runnable
> "GC task thread#6 (ParallelGC)" os_prio=0 tid=0x0000000000648000 nid=0x256e runnable
> "GC task thread#7 (ParallelGC)" os_prio=0 tid=0x000000000064a000 nid=0x256f runnable
> "VM Periodic Task Thread" os_prio=0 tid=0x0000000000715000 nid=0x257c waiting on condition
> JNI global references: 2837
> Heap
> PSYoungGen total 68608K, used 53960K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
> eden space 63488K, 76% used [0x00000000fab00000,0x00000000fdab7608,0x00000000fe900000)
> from space 5120K, 99% used [0x00000000fe900000,0x00000000fedfadc8,0x00000000fee00000)
> to space 5120K, 0% used [0x00000000ffb00000,0x00000000ffb00000,0x0000000100000000)
> ParOldGen total 84992K, used 1682K [0x00000000f0000000, 0x00000000f5300000, 0x00000000fab00000)
> object space 84992K, 1% used [0x00000000f0000000,0x00000000f01a4ab0,0x00000000f5300000)
> Metaspace used 17643K, capacity 17928K, committed 18048K, reserved 1064960K
> class space used 2011K, capacity 2130K, committed 2176K, reserved 1048576K
> 0: jdbc:hive2://localhost:10000> Interrupting... Please be patient this may take some time.
> 2020-02-26 18:04:03
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.72-b15 mixed mode):
> "NonBlockingInputStreamThread" #16 daemon prio=5 os_prio=0 tid=0x00007f0318c10800 nid=0x258c in Object.wait() [0x00007f031c193000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at java.lang.Thread.run(Thread.java:745)
> "Service Thread" #11 daemon prio=9 os_prio=0 tid=0x00007f032006c000 nid=0x257b runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C1 CompilerThread3" #10 daemon prio=9 os_prio=0 tid=0x00007f0320060800 nid=0x257a waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread2" #9 daemon prio=9 os_prio=0 tid=0x00007f0320056000 nid=0x2579 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread1" #8 daemon prio=9 os_prio=0 tid=0x00007f0320054000 nid=0x2578 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "C2 CompilerThread0" #7 daemon prio=9 os_prio=0 tid=0x00007f0320051000 nid=0x2577 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "JDWP Event Helper Thread" #6 daemon prio=10 os_prio=0 tid=0x00007f032004f000 nid=0x2576 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "JDWP Transport Listener: dt_socket" #5 daemon prio=10 os_prio=0 tid=0x00007f032004b800 nid=0x2575 runnable [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f0320035800 nid=0x2574 waiting on condition [0x0000000000000000]
> java.lang.Thread.State: RUNNABLE
> "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f0320003800 nid=0x2572 in Object.wait() [0x00007f0324b1c000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe930770> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
> - locked <0x00000000fe930770> (a java.lang.ref.ReferenceQueue$Lock)
> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
> "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00000000006a6000 nid=0x2571 in Object.wait() [0x00007f0324c1d000]
> java.lang.Thread.State: WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000fe9307b0> (a java.lang.ref.Reference$Lock)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
> - locked <0x00000000fe9307b0> (a java.lang.ref.Reference$Lock)
> at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
> "main" #1 prio=5 os_prio=0 tid=0x0000000000628800 nid=0x2567 runnable [0x00007f033a60b000]
> java.lang.Thread.State: RUNNABLE
> at java.io.FileInputStream.readBytes(Native Method)
> at java.io.FileInputStream.read(FileInputStream.java:255)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> - locked <0x00000000fe9113e0> (a java.io.BufferedInputStream)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137)
> at jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246)
> at jline.internal.InputStreamReader.read(InputStreamReader.java:261)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.internal.InputStreamReader.read(InputStreamReader.java:198)
> - locked <0x00000000fe9113c0> (a jline.internal.NonBlockingInputStream)
> at jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:2349)
> at jline.console.ConsoleReader.readLine(ConsoleReader.java:2269)
> at org.apache.hive.beeline.BeeLine.execute(BeeLine.java:1280)
> at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:1071)
> at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:538)
> at org.apache.hive.beeline.BeeLine.main(BeeLine.java:520)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:318)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
> "VM Thread" os_prio=0 tid=0x000000000069e800 nid=0x2570 runnable
> "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x000000000063d800 nid=0x2568 runnable
> "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x000000000063f800 nid=0x2569 runnable
> "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x0000000000641000 nid=0x256a runnable
> "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x0000000000643000 nid=0x256b runnable
> "GC task thread#4 (ParallelGC)" os_prio=0 tid=0x0000000000644800 nid=0x256c runnable
> "GC task thread#5 (ParallelGC)" os_prio=0 tid=0x0000000000646800 nid=0x256d runnable
> "GC task thread#6 (ParallelGC)" os_prio=0 tid=0x0000000000648000 nid=0x256e runnable
> "GC task thread#7 (ParallelGC)" os_prio=0 tid=0x000000000064a000 nid=0x256f runnable
> "VM Periodic Task Thread" os_prio=0 tid=0x0000000000715000 nid=0x257c waiting on condition
> JNI global references: 2838
> Heap
> PSYoungGen total 68608K, used 54384K [0x00000000fab00000, 0x0000000100000000, 0x0000000100000000)
> eden space 63488K, 77% used [0x00000000fab00000,0x00000000fdb21318,0x00000000fe900000)
> from space 5120K, 99% used [0x00000000fe900000,0x00000000fedfadc8,0x00000000fee00000)
> to space 5120K, 0% used [0x00000000ffb00000,0x00000000ffb00000,0x0000000100000000)
> ParOldGen total 84992K, used 1682K [0x00000000f0000000, 0x00000000f5300000, 0x00000000fab00000)
> object space 84992K, 1% used [0x00000000f0000000,0x00000000f01a4ab0,0x00000000f5300000)
> Metaspace used 17643K, capacity 17928K, committed 18048K, reserved 1064960K
> class space used 2011K, capacity 2130K, committed 2176K, reserved 1048576K
> 0: jdbc:hive2://localhost:10000> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
> Interrupting... Please be patient this may take some time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)