Hi Ivan,

I added 1 trailing slash to the URI.

Ignite worked fine!

Thank you for reply,

Takashi

2017-03-06 18:50 GMT+09:00 Ivan V. <[email protected]>:
> Please try to add 1 trailing slash to the secondary file system URI:
>
>  <bean class="org.apache.ignite.hadoop.fs.CachingHadoopFileSystemFactory">
>     <property name="uri"
> value="hdfs://ip-172-31-10-72.ap-northeast-1.compute.internal:8020/"/>
>  </bean>
>
>
> On Mon, Mar 6, 2017 at 11:13 AM, Takashi Sasaki <[email protected]>
> wrote:
>>
>> Hello,
>>
>> I attempted to start Hadoop Accelerator 1.8.0 with AWS EMR(4.7.1), but
>> it failed.
>>
>> ->default-config.xml(Edited)
>> https://drive.google.com/open?id=0B0ffj_ngVZxuUGlWSENHNjVSN0k
>> ->core-site-config.json(Configuring Applications of EMR)
>> https://drive.google.com/open?id=0B0ffj_ngVZxudHRDWGhxRmV4R1U
>>
>> Verbose output is below...
>> START>>>>>
>> [hadoop@ip-172-31-10-72 ~]$
>> /opt/apache-ignite-hadoop-1.8.0-bin/bin/ignite.sh -v
>> Ignite Command Line Startup, ver. 1.8.0#20161205-sha1:9ca40dbe
>> 2016 Copyright(C) Apache Software Foundation
>> [06:57:52,957][INFO ][main][IgniteKernal]
>> >>>    __________  ________________
>> >>>   /  _/ ___/ |/ /  _/_  __/ __/
>> >>>  _/ // (7 7    // /  / / / _/
>> >>> /___/\___/_/|_/___/ /_/ /___/
>> >>>
>> >>> ver. 1.8.0#20161205-sha1:9ca40dbe
>> >>> 2016 Copyright(C) Apache Software Foundation
>> >>>
>> >>> Ignite documentation: http://ignite.apache.org
>> [06:57:52,958][INFO ][main][IgniteKernal] Config URL:
>> file:/opt/apache-ignite-hadoop-1.8.0-bin/config/default-config.xml
>> [06:57:52,958][INFO ][main][IgniteKernal] Daemon mode: off
>> [06:57:52,958][INFO ][main][IgniteKernal] OS: Linux
>> 4.4.11-23.53.amzn1.x86_64 amd64
>> [06:57:52,958][INFO ][main][IgniteKernal] OS user: hadoop
>> [06:57:52,958][INFO ][main][IgniteKernal] PID: 19052
>> [06:57:52,959][INFO ][main][IgniteKernal] Language runtime: Java
>> Platform API Specification ver. 1.7
>> [06:57:52,959][INFO ][main][IgniteKernal] VM information: OpenJDK
>> Runtime Environment 1.7.0_111-mockbuild_2016_07_29_20_37-b00 Oracle
>> Corporation OpenJDK 64-Bit Server VM 24.111-b01
>> [06:57:52,959][INFO ][main][IgniteKernal] VM total memory: 0.96GB
>> [06:57:52,960][INFO ][main][IgniteKernal] Remote Management [restart:
>> on, REST: on, JMX (remote: on, port: 49172, auth: off, ssl: off)]
>> [06:57:52,960][INFO ][main][IgniteKernal]
>> IGNITE_HOME=/opt/apache-ignite-hadoop-1.8.0-bin
>> [06:57:52,960][INFO ][main][IgniteKernal] VM arguments: [-Xms1g,
>> -Xmx1g, -XX:+AggressiveOpts, -XX:MaxPermSize=256m,
>> -DIGNITE_QUIET=false,
>>
>> -DIGNITE_SUCCESS_FILE=/opt/apache-ignite-hadoop-1.8.0-bin/work/ignite_success_02b57366-b14f-4857-82c5-f9d5de3586c6,
>> -Dcom.sun.management.jmxremote,
>> -Dcom.sun.management.jmxremote.port=49172,
>> -Dcom.sun.management.jmxremote.authenticate=false,
>> -Dcom.sun.management.jmxremote.ssl=false,
>> -DIGNITE_HOME=/opt/apache-ignite-hadoop-1.8.0-bin,
>> -DIGNITE_PROG_NAME=/opt/apache-ignite-hadoop-1.8.0-bin/bin/ignite.sh]
>> [06:57:52,960][INFO ][main][IgniteKernal] Configured caches
>> ['ignite-marshaller-sys-cache', 'ignite-sys-cache',
>> 'ignite-hadoop-mr-sys-cache', 'ignite-atomics-sys-cache', 'igfs-meta',
>> 'igfs-data']
>> [06:57:52,965][INFO ][main][IgniteKernal] 3-rd party licenses can be
>> found at: /opt/apache-ignite-hadoop-1.8.0-bin/libs/licenses
>> [06:57:53,058][INFO ][main][IgnitePluginProcessor] Configured plugins:
>> [06:57:53,058][INFO ][main][IgnitePluginProcessor]   ^-- None
>> [06:57:53,058][INFO ][main][IgnitePluginProcessor]
>> [06:57:53,100][INFO ][main][TcpCommunicationSpi] IPC shared memory
>> server endpoint started [port=48100,
>>
>> tokDir=/opt/apache-ignite-hadoop-1.8.0-bin/work/ipc/shmem/5330df8a-f3c0-42c7-82f3-adf6c9365768-19052]
>> [06:57:53,100][INFO ][main][TcpCommunicationSpi] Successfully bound
>> shared memory communication to TCP port [port=48100,
>> locHost=0.0.0.0/0.0.0.0]
>> [06:57:53,120][INFO ][main][TcpCommunicationSpi] Successfully bound to
>> TCP port [port=47100, locHost=0.0.0.0/0.0.0.0]
>> [06:57:53,147][WARN ][main][NoopCheckpointSpi] Checkpoints are
>> disabled (to enable configure any GridCheckpointSpi implementation)
>> [06:57:53,184][WARN ][main][GridCollisionManager] Collision resolution
>> is disabled (all jobs will be activated upon arrival).
>> [06:57:53,195][INFO ][main][IgniteKernal] Security status
>> [authentication=off, tls/ssl=off]
>> [06:57:53,484][INFO ][main][GridTcpRestProtocol] Command protocol
>> successfully started [name=TCP binary, host=0.0.0.0/0.0.0.0,
>> port=11211]
>> [06:57:53,617][ERROR][main][IgniteKernal] Got exception while starting
>> (will rollback startup routine).
>> 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(HadoopCachingFileSystemFactoryDelegate.java:58)
>>         at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDelegateImpl.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:128)
>>         at
>> org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1602)
>>         at
>> org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:893)
>>         at
>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1794)
>>         at
>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1598)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1041)
>>         at
>> org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:963)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:849)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:748)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:618)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:588)
>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>         at
>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>> [06:57:53,619][WARN ][main][IgniteKernal] Attempt to stop starting
>> grid. This operation cannot be guaranteed to be successful.
>> [06:57:53,623][INFO ][main][GridTcpRestProtocol] Command protocol
>> successfully stopped: TCP binary
>> [06:57:53,632][WARN ][main][GridCacheIoManager] Failed to unregister
>> ordered cache communication handler because it was not found for
>> topic: T6 [topic=TOPIC_CACHE,
>> id1=83e8ca36-2305-3266-8e65-1463be879baa, id2=0]
>> [06:57:53,757][INFO ][main][IgniteKernal]
>> >>>
>> >>> +---------------------------------------------------------------------------------+
>> >>> Ignite ver.
>> >>> 1.8.0#20161205-sha1:9ca40dbeb7d559fcb299bdb6f5c90cdf8ce7e533 stopped OK
>> >>>
>> >>> +---------------------------------------------------------------------------------+
>> >>> Grid uptime: 00:00:01:744
>>
>> class org.apache.ignite.IgniteException: Can not create a Path from an
>> empty string
>>         at
>> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:927)
>>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>>         at
>> org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
>> Caused by: class org.apache.ignite.IgniteCheckedException: Can not
>> create a Path from an empty string
>>         at
>> org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:973)
>>         at
>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1794)
>>         at
>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1598)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1041)
>>         at
>> org.apache.ignite.internal.IgnitionEx.startConfigurations(IgnitionEx.java:963)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:849)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:748)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:618)
>>         at
>> org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:588)
>>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>>         ... 1 more
>> 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(HadoopCachingFileSystemFactoryDelegate.java:58)
>>         at
>> org.apache.ignite.internal.processors.hadoop.impl.delegate.HadoopIgfsSecondaryFileSystemDelegateImpl.start(HadoopIgfsSecondaryFileSystemDelegateImpl.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:128)
>>         at
>> org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1602)
>>         at
>> org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:893)
>>         ... 10 more
>> Failed to start grid: Can not create a Path from an empty string
>> <<<<<END
>>
>> What does the exception "Can not create path from empty string" mean?
>> In what case will it occur?
>>
>> Please advise me.
>>
>> Thanks,
>> Takashi
>
>

Reply via email to