You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/05/04 09:22:12 UTC

[jira] [Updated] (IGNITE-3078) IgniteContext needs option to read config from HDFS

     [ https://issues.apache.org/jira/browse/IGNITE-3078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov updated IGNITE-3078:
------------------------------------
    Component/s: Ignite RDD

> IgniteContext needs option to read config from HDFS
> ---------------------------------------------------
>
>                 Key: IGNITE-3078
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3078
>             Project: Ignite
>          Issue Type: Bug
>          Components: Ignite RDD
>    Affects Versions: 1.5.0.final
>            Reporter: Naden Franciscus
>              Labels: bigdata
>
> If you are running Ignite in YARN mode then obviously we aren't going to have Ignite installation directories on each of the Hadoop cluster nodes. Therefore we need to store the configuration in HDFS for it to be accessible everywhere.
> What is needed is a new constructor in IgniteContext:
>     def this(
>         sc: SparkContext,
>         hdfsPath: org.apache.hadoop.fs.Path
>     ) {
>         this(sc, () ⇒ IgnitionEx.loadHDFSConfiguration(hdfsPath).get1())
>     }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)