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)

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)

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