You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Bennie Schut (JIRA)" <ji...@apache.org> on 2010/09/30 10:56:36 UTC

[jira] Created: (HIVE-1675) SAXParseException on plan.xml during local mode.

SAXParseException on plan.xml during local mode.
------------------------------------------------

                 Key: HIVE-1675
                 URL: https://issues.apache.org/jira/browse/HIVE-1675
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.7.0
            Reporter: Bennie Schut


When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1675) SAXParseException on plan.xml during local mode.

Posted by "Bennie Schut (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bennie Schut updated HIVE-1675:
-------------------------------

    Attachment: local_10005_plan.xml
                local_10006_plan.xml

plan files which produced the parse exception.

> SAXParseException on plan.xml during local mode.
> ------------------------------------------------
>
>                 Key: HIVE-1675
>                 URL: https://issues.apache.org/jira/browse/HIVE-1675
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>         Attachments: local_10005_plan.xml, local_10006_plan.xml
>
>
> When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
> If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1675) SAXParseException on plan.xml during local mode.

Posted by "Bennie Schut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916415#action_12916415 ] 

Bennie Schut commented on HIVE-1675:
------------------------------------

The query I used:
INSERT OVERWRITE TABLE servers 
select * from ( 
select * 
from servers_load 
union all 
 select s.* 
from servers s 
  left outer join servers_load l on (l.server_id = s.server_id) 
where l.server_id is null

Full stacktrace:

plan = file:/tmp/hadoop/hive_2010-09-30_10-41-39_345_c2bbcfc5-e1d2-4e33-b41f-244ef289b41f/-local-10005/plan.xml
plan = file:/tmp/hadoop/hive_2010-09-30_10-41-39_345_c2bbcfc5-e1d2-4e33-b41f-244ef289b41f/-local-10006/plan.xml
[Fatal Error] :181:44: XML document structures must start and end within the same entity.
java.lang.RuntimeException: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1168)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1040)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:980)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:382)
	at org.apache.hadoop.mapred.JobConf.checkAndWarnDeprecation(JobConf.java:1662)
	at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:215)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.java:93)
	at org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:373)
	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:800)
	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
	at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:606)
	at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:1029)
	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:156)
Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1092)
	... 16 more
Job Submission failed with exception 'java.lang.RuntimeException(org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.)'
Job running in-process (local Hadoop)


> SAXParseException on plan.xml during local mode.
> ------------------------------------------------
>
>                 Key: HIVE-1675
>                 URL: https://issues.apache.org/jira/browse/HIVE-1675
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>
> When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
> If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1675) SAXParseException on plan.xml during local mode.

Posted by "Bennie Schut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916418#action_12916418 ] 

Bennie Schut commented on HIVE-1675:
------------------------------------

I've looked at the plan.xml files but don't see any issue with them. Any ideas on what could cause this?

> SAXParseException on plan.xml during local mode.
> ------------------------------------------------
>
>                 Key: HIVE-1675
>                 URL: https://issues.apache.org/jira/browse/HIVE-1675
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>         Attachments: local_10005_plan.xml, local_10006_plan.xml
>
>
> When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
> If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1675) SAXParseException on plan.xml during local mode.

Posted by "Bennie Schut (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918639#action_12918639 ] 

Bennie Schut commented on HIVE-1675:
------------------------------------

It's happening on 0.20.2

> SAXParseException on plan.xml during local mode.
> ------------------------------------------------
>
>                 Key: HIVE-1675
>                 URL: https://issues.apache.org/jira/browse/HIVE-1675
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>         Attachments: local_10005_plan.xml, local_10006_plan.xml
>
>
> When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
> If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1675) SAXParseException on plan.xml during local mode.

Posted by "Joydeep Sen Sarma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918609#action_12918609 ] 

Joydeep Sen Sarma commented on HIVE-1675:
-----------------------------------------

what version of hadoop is this happening against?

> SAXParseException on plan.xml during local mode.
> ------------------------------------------------
>
>                 Key: HIVE-1675
>                 URL: https://issues.apache.org/jira/browse/HIVE-1675
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Bennie Schut
>         Attachments: local_10005_plan.xml, local_10006_plan.xml
>
>
> When hive switches to local mode (hive.exec.mode.local.auto=true) I receive a sax parser exception on the plan.xml
> If I set hive.exec.mode.local.auto=false I get the correct results.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.