Re: Issue in queying file present in swift compliant object storage

2017-09-14 Thread Padma Penumarthy
Can you query top level directory i.e. /datalake ? Thanks, Padma > On Sep 13, 2017, at 11:43 PM, Chetan Kothari > wrote: > > I have registered plug-in to connect to container of Oracle Storage Cloud > Service using Swift library. > > I am able to query files

Re: Query Error on PCAP over MapR FS

2017-09-14 Thread Ted Dunning
arjun, I think you are completely correct. How utterly embarrassing. On Thu, Sep 14, 2017 at 9:52 AM, Arjun kr wrote: > The setup method for PcapRecordReader uses FileInputStream being passed to > PackerDecoder. Looks like it supports only local file system. This could

Re: Query Error on PCAP over MapR FS

2017-09-14 Thread Arjun kr
The setup method for PcapRecordReader uses FileInputStream being passed to PackerDecoder. Looks like it supports only local file system. This could be the reason why it worked when copied to local FS root directory and using NFS path (file:///mapr/cluster3/x.pcap). Probably Drill experts can

Re: Query Error on PCAP over MapR FS

2017-09-14 Thread Takeo Ogawara
I’m not sure PcapRecordReader supports HDFS/MapR FS. Supporting HDFS/MapR FS or not is different by which file format? I don’t understand Drill architecture well... > If you copy the file to local file system root directory , Does query work ? Yes, query was successful on the local file system.

Re: Query Error on PCAP over MapR FS

2017-09-14 Thread Arjun kr
The stack trace shared before shows FileInputStream being invoked from PcapRecordReader class. Does it work with Hdfs/Mapr FS or expects only local file system ? >>> Caused by: java.io.FileNotFoundException: /x.pcap (No such file or >>> directory) >>> at

Issue in queying file present in swift compliant object storage

2017-09-14 Thread Chetan Kothari
I have registered plug-in to connect to container of Oracle Storage Cloud Service using Swift library. I am able to query files present in top level in container of Oracle Storage Cloud Service. For example - oscs.`select * from test_tsv` ( test_tsv is file present as objet in container I

Re: Query Error on PCAP over MapR FS

2017-09-14 Thread Takeo Ogawara
Yes, that’s right. [drill@node21 ~]$ ps -ef | grep Drillbit drill 955 1 0 Sep13 ?00:02:26 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -Xms4G -Xmx4G -XX:MaxDirectMemorySize=8G -XX:ReservedCodeCacheSize=1G -Ddrill.exec.enable-epoll=false -XX:MaxPermSize=512M