无法查询使用正则表达式解析数据的外部配置单元表

时间:2013-05-02 12:46:42

标签: regex hive

我能够激活select *种类的查询,但不能激活select col1 ....类型的查询。 它抛出以下异常

   Error during job, obtaining debugging information...
        Examining task ID: task_201305021530_0007_m_000002 (and more) from job job_201305021530_0007
        Exception in thread "Thread-90" java.lang.RuntimeException: Error while reading from task log url
            at org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getStackTraces(TaskLogProcessor.java:240)
            at org.apache.hadoop.hive.ql.exec.JobDebugger.showJobFailDebugInfo(JobDebugger.java:227)
            at org.apache.hadoop.hive.ql.exec.JobDebugger.run(JobDebugger.java:92)
            at java.lang.Thread.run(Thread.java:722)
        Caused by: java.net.UnknownHostException: avishkar-VB
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at java.net.Socket.connect(Socket.java:528)
            at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
            at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
            at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
            at sun.net.www.http.HttpClient.New(HttpClient.java:290)
            at sun.net.www.http.HttpClient.New(HttpClient.java:306)
            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
            at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
            at java.net.URL.openStream(URL.java:1037)
            at org.apache.hadoop.hive.ql.exec.errors.TaskLogProcessor.getStackTraces(TaskLogProcessor.java:192)
            ... 3 more
        FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask
        MapReduce Jobs Launched: