Yeah. it seems that the NPE is a result of the warning msg, missing map.xml file. Not sure why, but I believe that Hortonworks doesn't support Hive on Spark. You can try get a build from the master branch or try other distributions.
Thanks, Xuefu On Mon, Nov 2, 2015 at 10:18 PM, Jagat Singh <[email protected]> wrote: > This is the virtual machine from Hortonworks. > > The query is this > > select count(*) from sample_07; > > It should run fine with MR. > > I am trying to run on Spark. > > > > > > > On Tue, Nov 3, 2015 at 4:39 PM, Xuefu Zhang <[email protected]> wrote: > >> That msg could be just noise. On the other hand, there is NPE, which >> might be the problem you're having. Have you tried your query with >> MapReduce? >> >> On Sun, Nov 1, 2015 at 5:32 PM, Jagat Singh <[email protected]> wrote: >> >>> One interesting message here , *No plan file found: * >>> >>> 15/11/01 23:55:36 INFO exec.Utilities: No plan file found: hdfs:// >>> sandbox.hortonworks.com:8020/tmp/hive/root/119652ff-3158-4cce-b32d-b300bfead1bc/hive_2015-11-01_23-54-47_767_5715642849033319370-1/-mr-10003/40878ced-7985-40d9-9b1d-27f06acb1bef/map.xml >>> <https://contactmonkey.com/api/v1/tracker?cm_session=027d853f-0e03-41b4-ad1e-a017b45dcb74&cm_type=link&cm_link=3fd1ebf2-8ac7-4140-a457-8f9e0dd4cb69&cm_destination=http://sandbox.hortonworks.com:8020/tmp/hive/root/119652ff-3158-4cce-b32d-b300bfead1bc/hive_2015-11-01_23-54-47_767_5715642849033319370-1/-mr-10003/40878ced-7985-40d9-9b1d-27f06acb1bef/map.xml> >>> >>> Similar error message was here >>> https://issues.apache.org/jira/browse/HIVE-7210 >>> <https://contactmonkey.com/api/v1/tracker?cm_session=027d853f-0e03-41b4-ad1e-a017b45dcb74&cm_type=link&cm_link=fe471ebf-79d4-48cf-a5fc-7b724d5ac331&cm_destination=https://issues.apache.org/jira/browse/HIVE-7210> >>> >>> >> >
