ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@apache.org>
Subject Configuration issues with IGFS in Ignite 1.9
Date Wed, 07 Jun 2017 20:40:45 GMT
Guys,

after upgrading the Bigtop stack from Ignite 1.5 to 1.9 we are seeing
a number of issues introduced by changed script interfaces and
similar. However, the one which I still can not fix so far is this.
The secondary file system is configured like this:

    <property name="fileSystemConfiguration">
      <list>
        <bean class="org.apache.ignite.configuration.FileSystemConfiguration"
parent="igfsCfgBase">
          <property name="name" value="igfs"/>

          <!-- Caches with these names must be configured. -->
          <property name="metaCacheName" value="igfs-meta"/>
          <property name="dataCacheName" value="igfs-data"/>

          <!-- Configure TCP endpoint for communication with the file
system instance. -->
          <property name="ipcEndpointConfiguration">
            <bean class="org.apache.ignite.igfs.IgfsIpcEndpointConfiguration">
              <property name="type" value="TCP" />
              <property name="host" value="0.0.0.0" />
              <property name="port" value="10500" />
            </bean>
          </property>

          <property name="secondaryFileSystem">
            <bean
class="org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem">
              <constructor-arg name="uri"
value='hdfs://0f6e4ed13002.bigtop.apache.org:8020'/>
              <constructor-arg name="cfgPath"
value='/etc/hadoop/conf/core-site.xml'/>
              <constructor-arg name="userName" value="ignite"/>
            </bean>
          </property>

And we are getting the following error message:

Caused by: java.lang.IllegalArgumentException: Can not create a Path
from an empty string
        at org.apache.hadoop.fs.Path.checkPathArg(Path.java:126)
        at org.apache.hadoop.fs.Path.<init>(Path.java:134)
        at org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopBasicFileSystemFactoryDelegate.start(HadoopBasicFileSystemFactoryDelegate
.java:165)
        at org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopCachingFileSystemFactoryDelegate.start(HadoopCachingFileSystemFactoryDele
gate.java:58)
        at org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDe
legateImpl.java:375)
        at org.apache.ignite.hadoop.fs.IgniteHadoopIgfsSecondaryFileSystem.start(IgniteHadoopIgfsSecondaryFileSystem.java:261)
        at org.apache.ignite.internal.processors.igfs.IgfsImpl.<init>(IgfsImpl.java:186)
        at org.apache.ignite.internal.processors.igfs.IgfsContext.<init>(IgfsContext.java:101)
        at org.apache.ignite.internal.processors.igfs.IgfsProcessor.start(IgfsProcessor.java:130)
        at org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1644)
        at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:903)
        ... 10 more
Failed to start grid: Can not create a Path from an empty string

Removing the value from cfgPath doesn't change anything. I'd
appreciate if someone can point me to the right direction: current
config examples aren't helping much either. Thanks!
--
  Take care,
Konstantin (Cos) Boudnik
2CAC 8312 4870 D885 8616  6115 220F 6980 1F27 E622

Disclaimer: Opinions expressed in this email are those of the author,
and do not necessarily represent the views of any company the author
might be affiliated with at the moment of writing.

Mime
View raw message