Hi All, 
My hive jobs all finished successfully, output file created,  hadoop job -list, 
displays no running jobs. 
I run hive -e '........'> myfile.
All Map/reduces are done and than I see 'OK' forever,  until I kill this job  
with Ctrl C.
Than I get an Exception:java.lang.IllegalStateException: Shutdown in progress
Can somebody explain why this is happening?

OK
Failed with exception java.io.IOException:java.io.IOException: Filesystem closed
FAILED: Hive Internal Error: java.lang.IllegalStateException(Shutdown in 
progress)
java.lang.IllegalStateException: Shutdown in progress
        at 
java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
        at java.lang.Runtime.addShutdownHook(Runtime.java:192)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1478)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:197)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)
        at org.apache.hadoop.hive.ql.Context.clear(Context.java:355)
        at org.apache.hadoop.hive.ql.Driver.close(Driver.java:737)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:161)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:197)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:267)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:186)

                                          

Reply via email to