spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Spark Yarn Cluster with Reference File
Date Fri, 23 Sep 2016 13:59:08 GMT
Thanks for your response Aditya and Steve.
I have tried specifying both /tmp/filename in hdfs and local path but it
didn't work.
You may be write that Kie session is configured  to  access files from
Local path.
I have attached code here for your reference and if you find some thing
wrong, please help to correct it.

I have attached code here for reference. --File option will distributed
reference file to all node but  Kie session is not able  to pickup it.


On Fri, Sep 23, 2016 at 2:25 PM, Steve Loughran <>

> On 23 Sep 2016, at 08:33, ABHISHEK <> wrote:
>         at
> Caused by: hdfs:/
> abhietc/abc.drl (No such file or directory)
>         at Method)
>         at<init>(
>         at
>         at org.drools.compiler.kie.builder.impl.KieFileSystemImpl.write(
> Looks like this .KieFileSystemImpl class only works with local files, so
> when it gets an HDFS path in it tries to open it and gets confused.
> you may need to write to a local FS temp file then copy it into HDFS

View raw message