See comments below.

On Tue, Feb 5, 2013 at 10:53 PM, Li Li <[email protected]> wrote:

> I followed all the steps of http://wiki.apache.org/blur/QuickStart
> the only difference is the machine I use don't have git installed. so
> I use another machine to clone by:
>
> git clone https://git-wip-us.apache.org/repos/asf/incubator-blur.git
> git checkout 0.2-dev
>
> then I copy it to my build machine
> all is fine before start-up
> there are still errors in log
> RROR 20130206_11:47:00:000_CST [main]
> concurrent.SimpleUncaughtExceptionHandler: Unknown error in thread
> [Thread[main,5,main]]
> java.lang.RuntimeException: Safemode data missing
> [/blur/clusters/default/safemode]
>         at
> org.apache.blur.manager.indexserver.DistributedIndexServer.waitInSafeModeIfNeeded(DistributedIndexServer.java:177)
>         at
> org.apache.blur.manager.indexserver.DistributedIndexServer.init(DistributedIndexServer.java:135)
>         at
> org.apache.blur.thrift.ThriftBlurServer.createServer(ThriftBlurServer.java:187)
>         at
> org.apache.blur.thrift.ThriftBlurServer.main(ThriftBlurServer.java:88)
>

This could be a bug with an empty ZooKeeper (meaning maybe blur isn't
setting things up correctly).  I'm going to retest that blur sets up
ZooKeeper correctly for safe mode and report back.


>
> when I run the client
> $./apache-blur-0.2.0-SNAPSHOT/bin/blur shell localhost:40020
> java.lang.NoSuchMethodError:
> org.apache.thrift.meta_data.FieldValueMetaData.<init>(BZ)V
>         at
> org.apache.blur.thrift.generated.QueryArgs.<clinit>(QueryArgs.java:255)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at $Proxy0.<clinit>(Unknown Source)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
>         at org.apache.blur.thrift.BlurClient.getClient(BlurClient.java:116)
>         at org.apache.blur.thrift.BlurClient.getClient(BlurClient.java:99)
>         at org.apache.blur.shell.Main.main(Main.java:171)
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.thrift.meta_data.FieldValueMetaData.<init>(BZ)V
>         at
> org.apache.blur.thrift.generated.QueryArgs.<clinit>(QueryArgs.java:255)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:169)
>         at $Proxy0.<clinit>(Unknown Source)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
>         at org.apache.blur.thrift.BlurClient.getClient(BlurClient.java:116)
>         at org.apache.blur.thrift.BlurClient.getClient(BlurClient.java:99)
>         at org.apache.blur.shell.Main.main(Main.java:171)
>

This is a very strange error, it's almost like the wrong thrift library is
in the classpath somewhere.  What hadoop version are you using?  Could
there be another version of thrift pulled in from another project somehow?
 Maybe hbase?  I know that the latest version of hbase is still using 0.8.0
of thrift.


>
> On Tue, Feb 5, 2013 at 11:53 PM, Aaron McCurry <[email protected]> wrote:
> > This is an interesting error, because it's looks like there is a mixture
> of
> > old code the trunk (0.1.x) with an error because of Lucene 4.0.  Try
> using
> > and building with the 0.2-dev, should become the trunk soon.  Follow this
> > guide and let me know what issues you find.  Thanks!
> >
> > http://wiki.apache.org/blur/QuickStart
> >
> > Aaron
> >
> >
> > On Tue, Feb 5, 2013 at 4:41 AM, Li Li <[email protected]> wrote:
> >
> >> hi
> >>     I follow the instructions of the README.md. when I
> >> ./bin/start-all.sh, there are errors in log files
> >>     1. blur-shard-server ****-0.log
> >>     ERROR 20130205_17:34:57:057_CST [main]
> >> concurrent.SimpleUncaughtExceptionHandler: Unknown error in thread
> >> [Thread[main,5,main]]
> >> java.lang.NoSuchFieldError: NOT_ANALYZED_NO_NORMS
> >>         at
> >> org.apache.blur.utils.BlurConstants.<clinit>(BlurConstants.java:105)
> >>         at
> >>
> org.apache.blur.thrift.ThriftBlurShardServer.createServer(ThriftBlurShardServer.java:187)
> >>         at
> >>
> org.apache.blur.thrift.ThriftBlurShardServer.main(ThriftBlurShardServer.java:92)
> >>     2. logs/blur-controller-server**-0.log
> >>     ERROR 20130205_17:35:00:000_CST [main]
> >> concurrent.SimpleUncaughtExceptionHandler: Unknown error in thread
> >> [Thread[main,5,main]]
> >> java.lang.NoSuchMethodError:
> >>
> >>
> org.apache.thrift.transport.TNonblockingServerSocket.<init>(Ljava/net/InetSocketAddress;)V
> >>         at
> org.apache.blur.thrift.ThriftServer.start(ThriftServer.java:80)
> >>         at
> >>
> org.apache.blur.thrift.ThriftBlurControllerServer.main(ThriftBlurControllerServer.java:72)
> >>
>

Reply via email to