ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pawantlor <pawant...@gmail.com>
Subject Failed to find configuration in: file:////tmp/shared.xml
Date Wed, 30 Nov 2016 11:24:16 GMT
I am using zookeeper based discovery for ignite cluster and ignite nodes are
getting properly connected.

When i am setting same config.xml file in zeppelin ignite interpreter in , I
am not able to run the ignite. it fails with below exception.

*It gives me below error on zepplin:*
Failed to find configuration in: file:////tmp/shared.xml
Failed to find configuration in: file:////tmp/shared.xml

*Exception in details:*
NFO [2016-11-30 10:54:40,036] ({pool-1-thread-2}
RemoteInterpreterServer.java[createInterpreter]:186) - Instantiate
interpreter org.apache.zeppelin.ignite.IgniteInterpreter
 WARN [2016-11-30 10:54:40,081] ({pool-1-thread-2}
Interpreter.java[register]:347) - Static initialization is deprecated for
interpreter ignitesql, You should change it to use interpreter-setting.json
in your jar or interpreter/{interpreter}/interpreter-setting.json
 INFO [2016-11-30 10:54:40,082] ({pool-1-thread-2}
RemoteInterpreterServer.java[createInterpreter]:186) - Instantiate
interpreter org.apache.zeppelin.ignite.IgniteSqlInterpreter
 INFO [2016-11-30 10:54:40,135] ({pool-2-thread-3}
SchedulerFactory.java[jobStarted]:131) - Job
remoteInterpretJob_1480503280132 started by scheduler
org.apache.zeppelin.ignite.IgniteInterpreter688924950
 INFO [2016-11-30 10:54:47,853] ({pool-2-thread-3}
XmlBeanDefinitionReader.java[loadBeanDefinitions]:316) - Loading XML bean
definitions from URL [file:////tmp/shared.xml]
 INFO [2016-11-30 10:54:48,106] ({pool-2-thread-3}
AbstractApplicationContext.java[prepareRefresh]:510) - Refreshing
org.springframework.context.support.GenericApplicationContext@483e99c1:
startup date [Wed Nov 30 10:54:48 UTC 2016]; root of context hierarchy
ERROR [2016-11-30 10:54:48,519] ({pool-2-thread-3}
IgniteInterpreter.java[getIgnite]:212) - Error in IgniteInterpreter while
getIgnite:
class org.apache.ignite.IgniteException: Failed to find configuration in:
file:////tmp/shared.xml
        at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:908)
        at org.apache.ignite.Ignition.start(Ignition.java:375)
        at
org.apache.zeppelin.ignite.IgniteInterpreter.getIgnite(IgniteInterpreter.java:191)
        at
org.apache.zeppelin.ignite.IgniteInterpreter.initIgnite(IgniteInterpreter.java:223)
        at
org.apache.zeppelin.ignite.IgniteInterpreter.open(IgniteInterpreter.java:144)
        at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
        at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:390)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
        at
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to find
configuration in: file:////tmp/shared.xml
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:116)
        at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
        at
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:639)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:840)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:769)
        at org.apache.ignite.Ignition.start(Ignition.java:372)
        ... 15 more
 INFO [2016-11-30 10:54:48,532] ({pool-2-thread-3}
SchedulerFactory.java[jobFinished]:137) - Job
remoteInterpretJob_1480503280132 finished by scheduler
org.apache.zeppelin.ignite.IgniteInterpreter688924950


*Zk.xml i am using:*
<?xml version="1.0" encoding="UTF-8"?>
<beans
    xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           
http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="clientMode" value="true"/>
        <property name="peerClassLoadingEnabled" value="false"/>

        <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder">
                        <property name="zkConnectionString"
value="zookeeper:2181"/>
                    </bean>
                </property>
            </bean>
        </property>
        <property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="testcache"/>
                    <property name="startSize" value="10"/>
                </bean>
            </list>
        </property>
    </bean>
</beans>

can anyone help me out.




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failed-to-find-configuration-in-file-tmp-shared-xml-tp9295.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message