Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-153

Error using MongoDB adapter with Optiq 0.4.19-SNAPSHOT: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      When following the mongodb tutorial from https://github.com/julianhyde/optiq/blob/master/HOWTO.md using Optiq 0.4.19-SNAPSHOT an exception is raised on the first query. An exception 'java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"' is raised corresponding to an error 'ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@3646a658:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"'.
      To reproduce the error just follow the section MongoDB Adapter of https://github.com/julianhyde/optiq/blob/master/HOWTO.md

      [cloudera@localhost optiq]$ ./sqlline
      sqlline version 1.1.7
      sqlline> !connect jdbc:optiq:model=/home/cloudera/Sistemas/optiq/mongo-zips-model-juanrh.json admin admin
      0: jdbc:optiq:model=/home/cloudera/Sistemas/o> !tables
      -------------------------------------------------------------------------------------------------------------------+

      TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS TYPE_CAT TYPE_SCHEM TYPE_NAME SELF_REFERENCING_COL_NAME REF_GENERATION

      -------------------------------------------------------------------------------------------------------------------+

      null metadata COLUMNS SYSTEM_TABLE null null null null null null
      null metadata TABLES SYSTEM_TABLE null null null null null null
      null mongo ZIPS VIEW null null null null null null
      null mongo_raw zips TABLE null null null null null null
      null mongo_raw system.indexes TABLE null null null null null null

      -------------------------------------------------------------------------------------------------------------------+
      0: jdbc:optiq:model=/home/cloudera/Sistemas/o> select count from zips;
      14/02/24 12:11:13 WARN util.Utils: Your hostname, localhost.localdomain resolves to a loopback address: 127.0.0.1; using 192.168.48.128 instead (on interface eth1)
      14/02/24 12:11:13 WARN util.Utils: Set SPARK_LOCAL_IP if you need to bind to another address
      14/02/24 12:11:13 INFO slf4j.Slf4jLogger: Slf4jLogger started
      14/02/24 12:11:14 INFO Remoting: Starting remoting
      14/02/24 12:11:14 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://spark@192.168.48.128:52419]
      14/02/24 12:11:14 INFO Remoting: Remoting now listens on addresses: [akka.tcp://spark@192.168.48.128:52419]
      14/02/24 12:11:14 INFO spark.SparkEnv: Registering BlockManagerMaster
      14/02/24 12:11:14 INFO storage.DiskBlockManager: Created local directory at /tmp/spark-local-20140224121114-861a
      14/02/24 12:11:14 INFO storage.MemoryStore: MemoryStore started with capacity 629.4 MB.
      14/02/24 12:11:14 INFO network.ConnectionManager: Bound socket to port 49104 with id = ConnectionManagerId(192.168.48.128,49104)
      14/02/24 12:11:14 INFO storage.BlockManagerMaster: Trying to register BlockManager
      14/02/24 12:11:14 INFO storage.BlockManagerMasterActor$BlockManagerInfo: Registering block manager 192.168.48.128:49104 with 629.4 MB RAM
      14/02/24 12:11:14 INFO storage.BlockManagerMaster: Registered BlockManager
      14/02/24 12:11:14 INFO spark.HttpServer: Starting HTTP Server
      14/02/24 12:11:14 INFO server.Server: jetty-7.6.8.v20121106
      14/02/24 12:11:14 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:35702
      14/02/24 12:11:14 INFO broadcast.HttpBroadcast: Broadcast server started at http://192.168.48.128:35702
      14/02/24 12:11:14 INFO spark.SparkEnv: Registering MapOutputTracker
      14/02/24 12:11:14 INFO spark.HttpFileServer: HTTP File server directory is /tmp/spark-65bbee34-6075-47b8-9c56-738a3a26df99
      14/02/24 12:11:14 INFO spark.HttpServer: Starting HTTP Server
      14/02/24 12:11:14 INFO server.Server: jetty-7.6.8.v20121106
      14/02/24 12:11:14 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:43752
      14/02/24 12:11:14 INFO server.Server: jetty-7.6.8.v20121106
      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/storage/rdd,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/storage,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/stages/stage,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/stages/pool,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/stages,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/environment,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/executors,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/metrics/json,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/static,null}

      14/02/24 12:11:14 INFO handler.ContextHandler: started o.e.j.s.h.ContextHandler

      {/,null}

      14/02/24 12:11:14 INFO server.AbstractConnector: Started SelectChannelConnector@0.0.0.0:4040
      14/02/24 12:11:14 INFO ui.SparkUI: Started Spark Web UI at http://192.168.48.128:4040
      14/02/24 12:11:14 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@3646a658:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:193)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@3b756456:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:193)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@5e75e08:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:521)
      at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
      at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:140)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:205)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@1ebafda6:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:521)
      at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
      at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:140)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:205)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@662ad0d:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:521)
      at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
      at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:140)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:205)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@384f33c1:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
      at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:521)
      at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
      at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:140)
      at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:205)
      at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:226)
      at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:33)
      at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:82)
      at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:210)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@6a0239f6:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:226)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@66a1fdd8:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:226)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@18d210ab:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:226)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 ERROR conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@7d880b02:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
      at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
      at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
      at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
      at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
      at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:226)
      at org.apache.spark.SparkContext.<init>(SparkContext.scala:100)
      at org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:53)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.<init>(SparkHandlerImpl.java:48)
      at net.hydromatic.optiq.impl.spark.SparkHandlerImpl.instance(SparkHandlerImpl.java:79)
      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 net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.createHandler(OptiqPrepare.java:124)
      at net.hydromatic.optiq.jdbc.OptiqPrepare$Dummy.getSparkHandler(OptiqPrepare.java:114)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl$ContextImpl.spark(OptiqConnectionImpl.java:395)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.createPlanner(OptiqPrepareImpl.java:192)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:140)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl$1.apply(OptiqPrepareImpl.java:138)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepare_(OptiqPrepareImpl.java:234)
      at net.hydromatic.optiq.prepare.OptiqPrepareImpl.prepareSql(OptiqPrepareImpl.java:208)
      at net.hydromatic.optiq.jdbc.OptiqConnectionImpl.parseQuery(OptiqConnectionImpl.java:188)
      at net.hydromatic.optiq.jdbc.MetaImpl.prepare(MetaImpl.java:603)
      at net.hydromatic.avatica.AvaticaStatement.execute(AvaticaStatement.java:68)
      at sqlline.Commands.execute(Commands.java:822)
      at sqlline.Commands.sql(Commands.java:732)
      at sqlline.SqlLine.dispatch(SqlLine.java:808)
      at sqlline.SqlLine.begin(SqlLine.java:681)
      at sqlline.SqlLine.start(SqlLine.java:398)
      at sqlline.SqlLine.main(SqlLine.java:292)
      14/02/24 12:11:15 INFO server.Server: jetty-7.6.8.v20121106
      14/02/24 12:11:15 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:37624
      Your hostname, localhost.localdomain resolves to a loopback address: 127.0.0.1; using 192.168.48.128 instead (on interface eth1)
      Set OPTIQ_LOCAL_IP if you need to bind to another address
      Error: while executing SQL: select count from zips (state=,code=0)
      0: jdbc:optiq:model=/home/cloudera/Sistemas/o>

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/153
      Created by: juanrh
      Labels:
      Created at: Mon Feb 24 21:20:05 CET 2014
      State: closed

      Attachments

        Activity

          People

            Unassigned Unassigned
            github-import GitHub Import
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: