This discussion is archived
11 Replies Latest reply: Feb 8, 2012 6:08 AM by guy.k.hillyer RSS

Oracle NoSQL exception

915071 Newbie
Currently Being Moderated
environment:
Linux namenode 2.6.9-11.ELhugemem #1 2005 i686 i686 i386 GNU/Linux
jdk 1.6
oracle nosql kv-ee-1.2.123.tar.gz

when I run command:
java -jar lib/kvstore-1.2.123.jar kvlite

occurs exception :
Process exiting due to fault
java.lang.ExceptionInInitializerError
at com.sleepycat.je.rep.ReplicationMutableConfig.<clinit>(ReplicationMutableConfig.java:269)
at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:97)
at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:92)
at oracle.kv.impl.admin.Admin.createReplicationConfig(Admin.java:280)
at oracle.kv.impl.admin.Admin.<init>(Admin.java:225)
at oracle.kv.impl.admin.AdminService.configure(AdminService.java:252)
at oracle.kv.impl.admin.CommandServiceImpl$33.execute(CommandServiceImpl.java:629)
at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:142)
at oracle.kv.impl.admin.CommandServiceImpl.configure(CommandServiceImpl.java:624)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
at com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:247)
at com.sleepycat.je.config.ConfigParam.<init>(ConfigParam.java:61)
at com.sleepycat.je.rep.impl.RepParams$3.<init>(RepParams.java:217)
at com.sleepycat.je.rep.impl.RepParams.<clinit>(RepParams.java:213)
... 23 more
KVLite: exception in start: java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.ExceptionInInitializerError
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
at $Proxy1.configure(Unknown Source)
at oracle.kv.impl.admin.CommandServiceAPI.configure(CommandServiceAPI.java:354)
at oracle.kv.util.kvlite.KVLiteAdmin.deployStore(KVLiteAdmin.java:57)
at oracle.kv.util.kvlite.KVLiteAdmin.run(KVLiteAdmin.java:42)
at oracle.kv.util.kvlite.KVLite.start(KVLite.java:386)
at oracle.kv.util.kvlite.KVLite.start(KVLite.java:354)
at oracle.kv.util.kvlite.KVLite.main(KVLite.java:451)
at oracle.kv.impl.util.KVStoreMain$1.run(KVStoreMain.java:112)
at oracle.kv.impl.util.KVStoreMain.main(KVStoreMain.java:319)
Caused by: java.lang.ExceptionInInitializerError
at com.sleepycat.je.rep.ReplicationMutableConfig.<clinit>(ReplicationMutableConfig.java:269)
at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:97)
at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:92)
at oracle.kv.impl.admin.Admin.createReplicationConfig(Admin.java:280)
at oracle.kv.impl.admin.Admin.<init>(Admin.java:225)
at oracle.kv.impl.admin.AdminService.configure(AdminService.java:252)
at oracle.kv.impl.admin.CommandServiceImpl$33.execute(CommandServiceImpl.java:629)
at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:142)
at oracle.kv.impl.admin.CommandServiceImpl.configure(CommandServiceImpl.java:624)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
at com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:247)
at com.sleepycat.je.config.ConfigParam.<init>(ConfigParam.java:61)
at com.sleepycat.je.rep.impl.RepParams$3.<init>(RepParams.java:217)
at com.sleepycat.je.rep.impl.RepParams.<clinit>(RepParams.java:213)
... 23 more
  • 1. Re: Oracle NoSQL exception
    Charles Lamb Pro
    Currently Being Moderated
    912068 wrote:
    environment:
    Linux namenode 2.6.9-11.ELhugemem #1 2005 i686 i686 i386 GNU/Linux
    jdk 1.6
    oracle nosql kv-ee-1.2.123.tar.gz

    when I run command:
    java -jar lib/kvstore-1.2.123.jar kvlite
    Hello,

    Make sure that there are no kv-related processes running (jps -m). Then make sure that any kvroot directory created by your previous run has been removed. Then try using something other than localhost for the hostname. e.g. if your host is named "myhost", then do java -jar ... kvlite -host myhost.

    Please report back if this fixes the problem or not.
  • 2. Re: Oracle NoSQL exception
    915071 Newbie
    Currently Being Moderated
    I have followed your suggestion, but the same exception happened.

    And the hostname of this machine is "namenode", not "localhost".

    [sunyao@namenode kv-1.2.123]$ java -jar lib/kvstore-1.2.123.jar kvlite -host namenode
    Process exiting due to fault
    java.lang.ExceptionInInitializerError
    at com.sleepycat.je.rep.ReplicationMutableConfig.<clinit>(ReplicationMutableConfig.java:269)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:97)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:92)
    at oracle.kv.impl.admin.Admin.createReplicationConfig(Admin.java:280)
    at oracle.kv.impl.admin.Admin.<init>(Admin.java:225)
    at oracle.kv.impl.admin.AdminService.configure(AdminService.java:252)
    at oracle.kv.impl.admin.CommandServiceImpl$33.execute(CommandServiceImpl.java:629)
    at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:142)
    at oracle.kv.impl.admin.CommandServiceImpl.configure(CommandServiceImpl.java:624)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
    at com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:247)
    at com.sleepycat.je.config.ConfigParam.<init>(ConfigParam.java:61)
    at com.sleepycat.je.rep.impl.RepParams$3.<init>(RepParams.java:217)
    at com.sleepycat.je.rep.impl.RepParams.<clinit>(RepParams.java:213)
    ... 23 more
    KVLite: exception in start: java.rmi.ServerError: Error occurred in server thread; nested exception is:
    java.lang.ExceptionInInitializerError
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
    at $Proxy1.configure(Unknown Source)
    at oracle.kv.impl.admin.CommandServiceAPI.configure(CommandServiceAPI.java:354)
    at oracle.kv.util.kvlite.KVLiteAdmin.deployStore(KVLiteAdmin.java:57)
    at oracle.kv.util.kvlite.KVLiteAdmin.run(KVLiteAdmin.java:42)
    at oracle.kv.util.kvlite.KVLite.start(KVLite.java:386)
    at oracle.kv.util.kvlite.KVLite.start(KVLite.java:354)
    at oracle.kv.util.kvlite.KVLite.main(KVLite.java:451)
    at oracle.kv.impl.util.KVStoreMain$1.run(KVStoreMain.java:112)
    at oracle.kv.impl.util.KVStoreMain.main(KVStoreMain.java:319)
    Caused by: java.lang.ExceptionInInitializerError
    at com.sleepycat.je.rep.ReplicationMutableConfig.<clinit>(ReplicationMutableConfig.java:269)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:97)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:92)
    at oracle.kv.impl.admin.Admin.createReplicationConfig(Admin.java:280)
    at oracle.kv.impl.admin.Admin.<init>(Admin.java:225)
    at oracle.kv.impl.admin.AdminService.configure(AdminService.java:252)
    at oracle.kv.impl.admin.CommandServiceImpl$33.execute(CommandServiceImpl.java:629)
    at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:142)
    at oracle.kv.impl.admin.CommandServiceImpl.configure(CommandServiceImpl.java:624)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
    at com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:247)
    at com.sleepycat.je.config.ConfigParam.<init>(ConfigParam.java:61)
    at com.sleepycat.je.rep.impl.RepParams$3.<init>(RepParams.java:217)
    at com.sleepycat.je.rep.impl.RepParams.<clinit>(RepParams.java:213)
    ... 23 more

    Edited by: 912068 on 2012-2-6 上午12:35
  • 3. Re: Oracle NoSQL exception
    Charles Lamb Pro
    Currently Being Moderated
    912068 wrote:
    I have followed your suggestion, but the same exception happened.

    And the hostname of this machine is "namenode", not "localhost".

    Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
    You must be specifying "localhost" somewhere in your configuration steps. Please rm -rf all of your kvroot directories on all machines. Then redo your configuration steps using "namenode" instead of "localhost".

    Charles Lamb
  • 4. Re: Oracle NoSQL exception
    915071 Newbie
    Currently Being Moderated
    Hi, I have followed your way, rm -rf kv related, but the exception also happend. My steps are followed:

    [sunyao@namenode tools]$ hostname
    namenode
    [sunyao@namenode tools]$ ls
    jdk1.6.0_20 jdk-6u20-linux-i586.bin kv-ee-1.2.123.tar.gz nohup.out
    [sunyao@namenode tools]$ tar -zxvf kv-ee-1.2.123.tar.gz
    kv-1.2.123/
    kv-1.2.123/bin/
    kv-1.2.123/bin/kvctl
    kv-1.2.123/bin/run-kvlite.cmd
    kv-1.2.123/bin/run-kvlite.sh
    kv-1.2.123/doc/
    kv-1.2.123/doc/AdminGuide/
    kv-1.2.123/doc/AdminGuide/KVStoreArchitecture.jpg
    kv-1.2.123/doc/AdminGuide/Oracle-NoSQLDB-Admin.pdf
    kv-1.2.123/doc/AdminGuide/RepGroups.jpg
    kv-1.2.123/doc/AdminGuide/admin-cli.html
    kv-1.2.123/doc/AdminGuide/admin-console.html
    kv-1.2.123/doc/AdminGuide/backup.html
    kv-1.2.123/doc/AdminGuide/configure-using-cli.html
    kv-1.2.123/doc/AdminGuide/configure.html
    kv-1.2.123/doc/AdminGuide/configurekvstore.jpg
    kv-1.2.123/doc/AdminGuide/deploySN.jpg
    kv-1.2.123/doc/AdminGuide/deployadminreplica.jpg
    kv-1.2.123/doc/AdminGuide/deployingRepNodes.jpg
    kv-1.2.123/doc/AdminGuide/deploymentupdate.html
    kv-1.2.123/doc/AdminGuide/fixhaportrange.html
    kv-1.2.123/doc/AdminGuide/gettingStarted.css
    kv-1.2.123/doc/AdminGuide/gui-install.html
    kv-1.2.123/doc/AdminGuide/gui.html
    kv-1.2.123/doc/AdminGuide/index.html
    kv-1.2.123/doc/AdminGuide/install-config.html
    kv-1.2.123/doc/AdminGuide/install.html
    kv-1.2.123/doc/AdminGuide/installation.html
    kv-1.2.123/doc/AdminGuide/installplanning.html
    kv-1.2.123/doc/AdminGuide/introduction.html
    kv-1.2.123/doc/AdminGuide/logs.jpg
    kv-1.2.123/doc/AdminGuide/monitoring.html
    kv-1.2.123/doc/AdminGuide/plans.html
    kv-1.2.123/doc/AdminGuide/plansandconfig.jpg
    kv-1.2.123/doc/AdminGuide/planstates.html
    kv-1.2.123/doc/AdminGuide/preface.html
    kv-1.2.123/doc/AdminGuide/procedures.html
    kv-1.2.123/doc/AdminGuide/recovery.html
    kv-1.2.123/doc/AdminGuide/replacefailedsn.html
    kv-1.2.123/doc/AdminGuide/reviewplans.html
    kv-1.2.123/doc/AdminGuide/runadmin-reference.html
    kv-1.2.123/doc/AdminGuide/select-cache-strategy.html
    kv-1.2.123/doc/AdminGuide/setjavaheap.html
    kv-1.2.123/doc/AdminGuide/setstoreparams.html
    kv-1.2.123/doc/AdminGuide/smoketest.html
    kv-1.2.123/doc/AdminGuide/store-config.html
    kv-1.2.123/doc/AdminGuide/todeployaSN.jpg
    kv-1.2.123/doc/AdminGuide/todeployadminreplica.jpg
    kv-1.2.123/doc/AdminGuide/todeployasetofRepnodes.jpg
    kv-1.2.123/doc/AdminGuide/topology.jpg
    kv-1.2.123/doc/AdminGuide/troubleshooting.html
    kv-1.2.123/doc/AdminGuide/verifyingthestore.html
    kv-1.2.123/doc/GettingStartedGuide/
    kv-1.2.123/doc/GettingStartedGuide/KVStoreArchitecture.jpg
    kv-1.2.123/doc/GettingStartedGuide/Oracle-NoSQLDB-GSG.pdf
    kv-1.2.123/doc/GettingStartedGuide/RepGroups.jpg
    kv-1.2.123/doc/GettingStartedGuide/clpoptions.html
    kv-1.2.123/doc/GettingStartedGuide/consistency-pre.html
    kv-1.2.123/doc/GettingStartedGuide/consistency-time.html
    kv-1.2.123/doc/GettingStartedGuide/consistency-version.html
    kv-1.2.123/doc/GettingStartedGuide/consistency.html
    kv-1.2.123/doc/GettingStartedGuide/depth.html
    kv-1.2.123/doc/GettingStartedGuide/durability-set.html
    kv-1.2.123/doc/GettingStartedGuide/durability-sync.html
    kv-1.2.123/doc/GettingStartedGuide/durability.html
    kv-1.2.123/doc/GettingStartedGuide/gettingStarted.css
    kv-1.2.123/doc/GettingStartedGuide/index.html
    kv-1.2.123/doc/GettingStartedGuide/introduction.html
    kv-1.2.123/doc/GettingStartedGuide/kvapi.html
    kv-1.2.123/doc/GettingStartedGuide/kvlite-usage.html
    kv-1.2.123/doc/GettingStartedGuide/kvlite.html
    kv-1.2.123/doc/GettingStartedGuide/multiget.html
    kv-1.2.123/doc/GettingStartedGuide/multigetiterator.html
    kv-1.2.123/doc/GettingStartedGuide/multikey.html
    kv-1.2.123/doc/GettingStartedGuide/multiop.html
    kv-1.2.123/doc/GettingStartedGuide/preface.html
    kv-1.2.123/doc/GettingStartedGuide/readsubranges.html
    kv-1.2.123/doc/GettingStartedGuide/recorddelete.html
    kv-1.2.123/doc/GettingStartedGuide/recordget.html
    kv-1.2.123/doc/GettingStartedGuide/recordput.html
    kv-1.2.123/doc/GettingStartedGuide/schema.html
    kv-1.2.123/doc/GettingStartedGuide/sequence-create.html
    kv-1.2.123/doc/GettingStartedGuide/sequence-exec.html
    kv-1.2.123/doc/GettingStartedGuide/singleget.html
    kv-1.2.123/doc/GettingStartedGuide/stopkvlite.html
    kv-1.2.123/doc/GettingStartedGuide/storeiterator.html
    kv-1.2.123/doc/GettingStartedGuide/storewrites.html
    kv-1.2.123/doc/GettingStartedGuide/values.html
    kv-1.2.123/doc/GettingStartedGuide/verifykvlite.html
    kv-1.2.123/doc/GettingStartedGuide/versions.html
    kv-1.2.123/doc/examples/
    kv-1.2.123/doc/examples/hadoop/
    kv-1.2.123/doc/examples/hadoop/class-use/
    kv-1.2.123/doc/examples/hadoop/class-use/CountMinorKeys.Map.html
    kv-1.2.123/doc/examples/hadoop/class-use/CountMinorKeys.Reduce.html
    kv-1.2.123/doc/examples/hadoop/class-use/CountMinorKeys.html
    kv-1.2.123/doc/examples/hadoop/CountMinorKeys.Map.html
    kv-1.2.123/doc/examples/hadoop/CountMinorKeys.Reduce.html
    kv-1.2.123/doc/examples/hadoop/CountMinorKeys.html
    kv-1.2.123/doc/examples/hadoop/package-frame.html
    kv-1.2.123/doc/examples/hadoop/package-summary.html
    kv-1.2.123/doc/examples/hadoop/package-tree.html
    kv-1.2.123/doc/examples/hadoop/package-use.html
    kv-1.2.123/doc/examples/hello/
    kv-1.2.123/doc/examples/hello/class-use/
    kv-1.2.123/doc/examples/hello/class-use/HelloBigDataWorld.html
    kv-1.2.123/doc/examples/hello/HelloBigDataWorld.html
    kv-1.2.123/doc/examples/hello/package-frame.html
    kv-1.2.123/doc/examples/hello/package-summary.html
    kv-1.2.123/doc/examples/hello/package-tree.html
    kv-1.2.123/doc/examples/hello/package-use.html
    kv-1.2.123/doc/examples/resources/
    kv-1.2.123/doc/examples/resources/inherit.gif
    kv-1.2.123/doc/examples/schema/
    kv-1.2.123/doc/examples/schema/class-use/
    kv-1.2.123/doc/examples/schema/class-use/InputData.html
    kv-1.2.123/doc/examples/schema/class-use/KeyDefinition.html
    kv-1.2.123/doc/examples/schema/class-use/LoginSession.html
    kv-1.2.123/doc/examples/schema/class-use/LoginSummary.html
    kv-1.2.123/doc/examples/schema/class-use/RunOperation.html
    kv-1.2.123/doc/examples/schema/class-use/SchemaExample.html
    kv-1.2.123/doc/examples/schema/class-use/UserImage.html
    kv-1.2.123/doc/examples/schema/class-use/UserInfo.html
    kv-1.2.123/doc/examples/schema/InputData.html
    kv-1.2.123/doc/examples/schema/KeyDefinition.html
    kv-1.2.123/doc/examples/schema/LoginSession.html
    kv-1.2.123/doc/examples/schema/LoginSummary.html
    kv-1.2.123/doc/examples/schema/RunOperation.html
    kv-1.2.123/doc/examples/schema/SchemaExample.html
    kv-1.2.123/doc/examples/schema/UserImage.html
    kv-1.2.123/doc/examples/schema/UserInfo.html
    kv-1.2.123/doc/examples/schema/package-frame.html
    kv-1.2.123/doc/examples/schema/package-summary.html
    kv-1.2.123/doc/examples/schema/package-tree.html
    kv-1.2.123/doc/examples/schema/package-use.html
    kv-1.2.123/doc/examples/allclasses-frame.html
    kv-1.2.123/doc/examples/allclasses-noframe.html
    kv-1.2.123/doc/examples/constant-values.html
    kv-1.2.123/doc/examples/deprecated-list.html
    kv-1.2.123/doc/examples/help-doc.html
    kv-1.2.123/doc/examples/index-all.html
    kv-1.2.123/doc/examples/index.html
    kv-1.2.123/doc/examples/overview-frame.html
    kv-1.2.123/doc/examples/overview-summary.html
    kv-1.2.123/doc/examples/overview-tree.html
    kv-1.2.123/doc/examples/package-list
    kv-1.2.123/doc/examples/style.css
    kv-1.2.123/doc/javadoc/
    kv-1.2.123/doc/javadoc/oracle/
    kv-1.2.123/doc/javadoc/oracle/kv/
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Consistency.Time.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Consistency.Version.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Consistency.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/ConsistencyException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/ContingencyException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Depth.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Direction.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Durability.ReplicaAckPolicy.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Durability.SyncPolicy.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Durability.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/DurabilityException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/FaultException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KVStore.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KVStoreConfig.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KVStoreFactory.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KVVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Key.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KeyRange.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/KeyValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Operation.Type.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Operation.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/OperationExecutionException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/OperationFactory.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/OperationResult.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/RequestLimitConfig.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/RequestLimitException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/RequestTimeoutException.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/ReturnValueVersion.Choice.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/ReturnValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Value.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/ValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/class-use/Version.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/class-use/
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/class-use/KVInputFormat.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/KVInputFormat.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/package-frame.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/package-summary.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/package-tree.html
    kv-1.2.123/doc/javadoc/oracle/kv/hadoop/package-use.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/
    kv-1.2.123/doc/javadoc/oracle/kv/stats/class-use/
    kv-1.2.123/doc/javadoc/oracle/kv/stats/class-use/KVStats.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/class-use/NodeMetrics.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/class-use/OperationMetrics.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/KVStats.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/NodeMetrics.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/OperationMetrics.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/package-frame.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/package-summary.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/package-tree.html
    kv-1.2.123/doc/javadoc/oracle/kv/stats/package-use.html
    kv-1.2.123/doc/javadoc/oracle/kv/Consistency.Time.html
    kv-1.2.123/doc/javadoc/oracle/kv/Consistency.Version.html
    kv-1.2.123/doc/javadoc/oracle/kv/Consistency.html
    kv-1.2.123/doc/javadoc/oracle/kv/ConsistencyException.html
    kv-1.2.123/doc/javadoc/oracle/kv/ContingencyException.html
    kv-1.2.123/doc/javadoc/oracle/kv/Depth.html
    kv-1.2.123/doc/javadoc/oracle/kv/Direction.html
    kv-1.2.123/doc/javadoc/oracle/kv/Durability.ReplicaAckPolicy.html
    kv-1.2.123/doc/javadoc/oracle/kv/Durability.SyncPolicy.html
    kv-1.2.123/doc/javadoc/oracle/kv/Durability.html
    kv-1.2.123/doc/javadoc/oracle/kv/DurabilityException.html
    kv-1.2.123/doc/javadoc/oracle/kv/FaultException.html
    kv-1.2.123/doc/javadoc/oracle/kv/KVStore.html
    kv-1.2.123/doc/javadoc/oracle/kv/KVStoreConfig.html
    kv-1.2.123/doc/javadoc/oracle/kv/KVStoreFactory.html
    kv-1.2.123/doc/javadoc/oracle/kv/KVVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/Key.html
    kv-1.2.123/doc/javadoc/oracle/kv/KeyRange.html
    kv-1.2.123/doc/javadoc/oracle/kv/KeyValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/Operation.Type.html
    kv-1.2.123/doc/javadoc/oracle/kv/Operation.html
    kv-1.2.123/doc/javadoc/oracle/kv/OperationExecutionException.html
    kv-1.2.123/doc/javadoc/oracle/kv/OperationFactory.html
    kv-1.2.123/doc/javadoc/oracle/kv/OperationResult.html
    kv-1.2.123/doc/javadoc/oracle/kv/RequestLimitConfig.html
    kv-1.2.123/doc/javadoc/oracle/kv/RequestLimitException.html
    kv-1.2.123/doc/javadoc/oracle/kv/RequestTimeoutException.html
    kv-1.2.123/doc/javadoc/oracle/kv/ReturnValueVersion.Choice.html
    kv-1.2.123/doc/javadoc/oracle/kv/ReturnValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/Value.html
    kv-1.2.123/doc/javadoc/oracle/kv/ValueVersion.html
    kv-1.2.123/doc/javadoc/oracle/kv/Version.html
    kv-1.2.123/doc/javadoc/oracle/kv/package-frame.html
    kv-1.2.123/doc/javadoc/oracle/kv/package-summary.html
    kv-1.2.123/doc/javadoc/oracle/kv/package-tree.html
    kv-1.2.123/doc/javadoc/oracle/kv/package-use.html
    kv-1.2.123/doc/javadoc/resources/
    kv-1.2.123/doc/javadoc/resources/inherit.gif
    kv-1.2.123/doc/javadoc/allclasses-frame.html
    kv-1.2.123/doc/javadoc/allclasses-noframe.html
    kv-1.2.123/doc/javadoc/constant-values.html
    kv-1.2.123/doc/javadoc/deprecated-list.html
    kv-1.2.123/doc/javadoc/help-doc.html
    kv-1.2.123/doc/javadoc/index-all.html
    kv-1.2.123/doc/javadoc/index.html
    kv-1.2.123/doc/javadoc/overview-frame.html
    kv-1.2.123/doc/javadoc/overview-summary.html
    kv-1.2.123/doc/javadoc/overview-tree.html
    kv-1.2.123/doc/javadoc/package-list
    kv-1.2.123/doc/javadoc/serialized-form.html
    kv-1.2.123/doc/javadoc/style.css
    kv-1.2.123/doc/misc/
    kv-1.2.123/doc/misc/MemoryConfigPlanning.xls
    kv-1.2.123/doc/LICENSE.txt
    kv-1.2.123/doc/README.txt
    kv-1.2.123/doc/changelog.html
    kv-1.2.123/doc/index.html
    kv-1.2.123/doc/quickstart.html
    kv-1.2.123/doc/relnotes.html
    kv-1.2.123/doc/style.css
    kv-1.2.123/examples/
    kv-1.2.123/examples/hadoop/
    kv-1.2.123/examples/hadoop/CountMinorKeys.java
    kv-1.2.123/examples/hello/
    kv-1.2.123/examples/hello/HelloBigDataWorld.java
    kv-1.2.123/examples/hello/package.html
    kv-1.2.123/examples/schema/
    kv-1.2.123/examples/schema/InputData.java
    kv-1.2.123/examples/schema/KeyDefinition.java
    kv-1.2.123/examples/schema/LoginSession.java
    kv-1.2.123/examples/schema/LoginSummary.java
    kv-1.2.123/examples/schema/RunOperation.java
    kv-1.2.123/examples/schema/SchemaExample.java
    kv-1.2.123/examples/schema/UserImage.java
    kv-1.2.123/examples/schema/UserInfo.java
    kv-1.2.123/examples/schema/package.html
    kv-1.2.123/examples/logging.properties
    kv-1.2.123/examples/security.policy
    kv-1.2.123/lib/
    kv-1.2.123/lib/gwt-servlet.jar
    kv-1.2.123/lib/je.jar
    kv-1.2.123/lib/jetty-continuation-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-http-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-io-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-security-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-server-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-servlet-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-util-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-webapp-7.4.0.v20110414.jar
    kv-1.2.123/lib/jetty-xml-7.4.0.v20110414.jar
    kv-1.2.123/lib/oraclepki.jar
    kv-1.2.123/lib/osdt_cert.jar
    kv-1.2.123/lib/osdt_core.jar
    kv-1.2.123/lib/servlet-api-2.5.jar
    kv-1.2.123/lib/kvstore-1.2.123.jar
    kv-1.2.123/lib/kvclient-1.2.123.jar
    kv-1.2.123/LICENSE.txt
    kv-1.2.123/README.txt
    kv-1.2.123/build.xml
    [sunyao@namenode tools]$ ls
    jdk1.6.0_20 jdk-6u20-linux-i586.bin kv-1.2.123 kv-ee-1.2.123.tar.gz nohup.out
    [sunyao@namenode tools]$ mkdir -p KVROOT
    [sunyao@namenode tools]$ ls
    jdk1.6.0_20 jdk-6u20-linux-i586.bin kv-1.2.123 kv-ee-1.2.123.tar.gz KVROOT nohup.out
    [sunyao@namenode tools]$ java -jar kv-1.2.123/lib/kvstore-1.2.123.jar makebootconfig -root KVROOT -port 5000 -admin 5001 -host namenode -harange 5010,5020
    [sunyao@namenode tools]$ nohup java -jar kv-1.2.123/lib/kvstore-1.2.123.jar start -root KVROOT&
    [2] 21553
    [sunyao@namenode tools]$ nohup: appending output to ‘nohup.out’

    [2]+ Done nohup java -jar kv-1.2.123/lib/kvstore-1.2.123.jar start -root KVROOT

    [sunyao@namenode tools]$ jps -m
    22240 Jps -m
    22137 kvstore-1.2.123.jar start -root KVROOT
    22206 ManagedService -root KVROOT -class Admin -service BootstrapAdmin.5000 -config config.xml
    [sunyao@namenode tools]$ java -jar kv-1.2.123/lib/kvstore-1.2.123.jar runadmin -pkv-> configure mystore
    Lost connection to AdminService.
    Reconnecting....
    Exception while executing command configure: Error occurred in server thread; nested exception is:
    java.lang.ExceptionInInitializerError
    kv-> [sunyao@namenode tools]$ ls
    bash: ls: command not found
    [sunyao@namenode tools]$ ls
    jdk1.6.0_20 jdk-6u20-linux-i586.bin kv-1.2.123 kv-ee-1.2.123.tar.gz KVROOT nohup.out
    [sunyao@namenode tools]$ cd KVROOT/
    [sunyao@namenode KVROOT]$ ls
    adminboot_0.log adminboot_0.log.lck config.xml ms mystore security.policy snaboot_0.log snaboot_0.log.lck
    [sunyao@namenode KVROOT]$ ls -la
    总用量 84
    drwxr-xr-x 4 sunyao users 4096 2月 7 11:07 .
    drwxr-xr-x 5 sunyao users 4096 2月 7 11:04 ..
    -rw-r--r-- 1 sunyao users 7637 2月 7 11:07 adminboot_0.log
    -rw-r--r-- 1 sunyao users 0 2月 7 11:07 adminboot_0.log.lck
    -rw-r--r-- 1 sunyao users 540 2月 7 11:04 config.xml
    drwxr-xr-x 4 sunyao users 4096 2月 7 11:07 ms
    drwxr-xr-x 4 sunyao users 4096 2月 7 11:07 mystore
    -rw-r--r-- 1 sunyao users 52 2月 7 11:03 security.policy
    -rw-r--r-- 1 sunyao users 11407 2月 7 11:07 snaboot_0.log
    -rw-r--r-- 1 sunyao users 0 2月 7 11:04 snaboot_0.log.lck
    [sunyao@namenode KVROOT]$ cat adminboot_0.log
    02-07-12 11:04:41:334 CST 信息 [BootstrapAdmin] Starting in bootstrap mode
    02-07-12 11:04:41:350 CST 信息 [BootstrapAdmin] Starting Command service on rmi://namenode:5000/commandService
    02-07-12 11:04:41:580 CST 信息 [BootstrapAdmin] Starting Web service on port 5001
    02-07-12 11:04:41:802 CST 信息 [BootstrapAdmin] jetty-7.4.0.v20110414
    02-07-12 11:04:41:931 CST 信息 [BootstrapAdmin] Extract jar:file:/home/sunyao/oracle_nosql/tools/kv-1.2.123/lib/kvstore-1.2.123.jar!/war/KVAdminUI/ to /tmp/jetty-0.0.0.0-5001-KVAdminUI-_-any-/webapp
    02-07-12 11:04:42:557 CST 信息 [BootstrapAdmin] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
    02-07-12 11:04:42:603 CST 信息 [BootstrapAdmin] started o.e.j.w.WebAppContext{,file:/tmp/jetty-0.0.0.0-5001-KVAdminUI-_-any-/webapp/},jar:file:/home/sunyao/oracle_nosql/tools/kv-1.2.123/lib/kvstore-1.2.123.jar!/war/KVAdminUI
    02-07-12 11:04:42:696 CST 信息 [BootstrapAdmin] Started SelectChannelConnector@0.0.0.0:5001 STARTING
    02-07-12 11:04:42:698 CST 信息 [BootstrapAdmin] Started AdminService
    02-07-12 11:07:12:979 CST 严重 [BootstrapAdmin] Process exiting with error
    java.lang.ExceptionInInitializerError
    at com.sleepycat.je.rep.ReplicationMutableConfig.<clinit>(ReplicationMutableConfig.java:269)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:97)
    at oracle.kv.impl.param.ParameterUtils.getRepEnvConfig(ParameterUtils.java:92)
    at oracle.kv.impl.admin.Admin.createReplicationConfig(Admin.java:280)
    at oracle.kv.impl.admin.Admin.<init>(Admin.java:225)
    at oracle.kv.impl.admin.AdminService.configure(AdminService.java:252)
    at oracle.kv.impl.admin.CommandServiceImpl$33.execute(CommandServiceImpl.java:629)
    at oracle.kv.impl.fault.ProcessFaultHandler.execute(ProcessFaultHandler.java:142)
    at oracle.kv.impl.admin.CommandServiceImpl.configure(CommandServiceImpl.java:624)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException: Invalid hostname: localhost The host name is not associated with this machine.
    at com.sleepycat.je.rep.impl.RepParams$3.validateValue(RepParams.java:247)
    at com.sleepycat.je.config.ConfigParam.<init>(ConfigParam.java:61)
    at com.sleepycat.je.rep.impl.RepParams$3.<init>(RepParams.java:217)
    at com.sleepycat.je.rep.impl.RepParams.<clinit>(RepParams.java:213)
    ... 23 moreort 5000 -host namenode


    By the way, how can I cancel or restart the plan "ERROR_NO_RESTART" and "UNREACHABLE" ?

    Edited by: 912068 on 2012-2-6 下午11:17
  • 5. Re: Oracle NoSQL exception
    Charles Lamb Pro
    Currently Being Moderated
    Hello,

    Please post the contents of your /etc/hosts and config.xml files. Thanks.

    Charles Lamb

    Edited by: Charles Lamb on Feb 7, 2012 12:13 PM
  • 6. Re: Oracle NoSQL exception
    guy.k.hillyer Newbie
    Currently Being Moderated
    NoSQL Database requires that the name "localhost" map to the loopback address 127.0.0.1. This is a standard configuration.

    Place an entry like this in /etc/hosts:

    127.0.0.1     localhost.localdomain     localhost

    See http://en.wikipedia.org/wiki/Localhost and http://en.wikipedia.org/wiki/Hosts_%28file%29
  • 7. Re: Oracle NoSQL exception
    915071 Newbie
    Currently Being Moderated
    hi, my configuration is belowed:
    [root@namenode ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    192.168.7.200 namenode
    192.168.7.185 datanode1
    192.168.7.186 datanode2

    and my config.xml is
    [sunyao@namenode KVROOT]$ cat config.xml
    <config version="1">
    <component name="bootstrapParams" type="bootstrapParams">
    <property name="adminHttpPort" value="5001" type="INT"/>
    <property name="hostingAdmin" value="false" type="BOOLEAN"/>
    <property name="storageNodeId" value="0" type="INT"/>
    <property name="hostname" value="namenode" type="STRING"/>
    <property name="rootDir" value="KVROOT" type="STRING"/>
    <property name="haPortRange" value="5010,5020" type="STRING"/>
    <property name="registryPort" value="5010" type="INT"/>
    </component>
    </config>

    and I try the same command on 185,186(refer http://docs.oracle.com/cd/NOSQL/html/quickstart.html), it works, but failed on 200.
  • 8. Re: Oracle NoSQL exception
    915071 Newbie
    Currently Being Moderated
    hi, my configuration is belowed:
    [root@namenode ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    192.168.7.200 namenode
    192.168.7.185 datanode1
    192.168.7.186 datanode2

    and my config.xml is
    [sunyao@namenode KVROOT]$ cat config.xml
    <config version="1">
    <component name="bootstrapParams" type="bootstrapParams">
    <property name="adminHttpPort" value="5001" type="INT"/>
    <property name="hostingAdmin" value="false" type="BOOLEAN"/>
    <property name="storageNodeId" value="0" type="INT"/>
    <property name="hostname" value="namenode" type="STRING"/>
    <property name="rootDir" value="KVROOT" type="STRING"/>
    <property name="haPortRange" value="5010,5020" type="STRING"/>
    <property name="registryPort" value="5010" type="INT"/>
    </component>
    </config>

    and I try the same command on 185,186(refer http://docs.oracle.com/cd/NOSQL/html/quickstart.html), it works, but failed on 200.
    my hosts on 185 and 186 is
    [root@datanode1 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    192.168.7.200 namenode
    192.168.7.185 datanode1
    192.168.7.186 datanode2
  • 9. Re: Oracle NoSQL exception
    guy.k.hillyer Newbie
    Currently Being Moderated
    The comment in /etc/hosts says "Do not remove the following line, or various programs that require network functionality will fail" should be followed by a line that looks like this:

    127.0.0.1 localhost.localdomain localhost

    Someone has ignored the comment and removed this essential line. Please restore it.
  • 10. Re: Oracle NoSQL exception
    915071 Newbie
    Currently Being Moderated
    Thanks, it works.
    But why the other machine which also don't have "127.0.0.1 localhost.localdomain localhost" can work ?
  • 11. Re: Oracle NoSQL exception
    guy.k.hillyer Newbie
    Currently Being Moderated
    I can only guess. Maybe DNS on those working hosts supplies a mapping for localhost?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points