You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@gora.apache.org by Prashant Dave <pd...@gwmail.gwu.edu> on 2012/08/16 22:39:00 UTC

Gora Tutorial Error Message

I am getting the following error message when trying to follow the
instructions of the tutorial at this page:
http://gora.apache.org/docs/current/tutorial.html


	... 4 more
pdave@pdave-Vostro-1500:~/src/apache-gora-0.2.1$ bin/gora logmanager
-parse gora-tutorial/src/main/resources/access.log
/home/pdave/src/apache-gora-0.2.1/conf:/usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/target/classes/
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.lang.RuntimeException:
org.apache.gora.util.GoraException:
java.lang.IllegalArgumentException: Not a host:port pair: �
	at org.apache.gora.tutorial.log.LogManager.<init>(LogManager.java:64)
	at org.apache.gora.tutorial.log.LogManager.main(LogManager.java:238)
Caused by: org.apache.gora.util.GoraException:
java.lang.IllegalArgumentException: Not a host:port pair: �
	at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
	at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:63)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:354)
	at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94)
	at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
	at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
	at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
	... 4 more

Re: Gora Tutorial Error Message

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Excellent.

Thanks for updating us.

Best

Lewis

On Thu, Aug 16, 2012 at 10:45 PM, Prashant Dave <pd...@gwmail.gwu.edu> wrote:
> Hi Lewis,
> The hbase version that I am running is: 0.94.1. I copied over the 2
> hbase jar files to the following directories: gora-hbase/lib and
> gora-tutorial/lib and the logmanager command now runs.
>
> Prashant
>
> On Thu, Aug 16, 2012 at 4:53 PM, Lewis John Mcgibbney
> <le...@gmail.com> wrote:
>> Hi Prashant,
>>
>> On Thu, Aug 16, 2012 at 9:39 PM, Prashant Dave <pd...@gwmail.gwu.edu> wrote:
>>
>>> SLF4J: Class path contains multiple SLF4J bindings.
>>> SLF4J: Found binding in
>>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>>> SLF4J: Found binding in
>>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>>> SLF4J: Found binding in
>>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
>>
>> We need to get rid of the above logging conflicts. This relates to GORA-125
>> https://issues.apache.org/jira/browse/GORA-125
>>
>> I'll try to fix this in trunk just now.
>>
>>> Exception in thread "main" java.lang.RuntimeException:
>>> org.apache.gora.util.GoraException:
>>> java.lang.IllegalArgumentException: Not a host:port pair: �
>>>         at org.apache.gora.tutorial.log.LogManager.<init>(LogManager.java:64)
>>>         at org.apache.gora.tutorial.log.LogManager.main(LogManager.java:238)
>>> Caused by: org.apache.gora.util.GoraException:
>>> java.lang.IllegalArgumentException: Not a host:port pair: �
>>
>> I hope that this is the same issue you were having over at user@nutch
>> where your HBase installation is not interoperable with gora 0.2.1.
>> Can you clarify what version of HBase you are using and whether the
>> issue goes away if you switch to HBase >= 0.90.4?
>>
>> Thank you
>> Lewis



-- 
Lewis

Re: Gora Tutorial Error Message

Posted by Prashant Dave <pd...@gwmail.gwu.edu>.
Hi Lewis,
The hbase version that I am running is: 0.94.1. I copied over the 2
hbase jar files to the following directories: gora-hbase/lib and
gora-tutorial/lib and the logmanager command now runs.

Prashant

On Thu, Aug 16, 2012 at 4:53 PM, Lewis John Mcgibbney
<le...@gmail.com> wrote:
> Hi Prashant,
>
> On Thu, Aug 16, 2012 at 9:39 PM, Prashant Dave <pd...@gwmail.gwu.edu> wrote:
>
>> SLF4J: Class path contains multiple SLF4J bindings.
>> SLF4J: Found binding in
>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: Found binding in
>> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
>
> We need to get rid of the above logging conflicts. This relates to GORA-125
> https://issues.apache.org/jira/browse/GORA-125
>
> I'll try to fix this in trunk just now.
>
>> Exception in thread "main" java.lang.RuntimeException:
>> org.apache.gora.util.GoraException:
>> java.lang.IllegalArgumentException: Not a host:port pair: �
>>         at org.apache.gora.tutorial.log.LogManager.<init>(LogManager.java:64)
>>         at org.apache.gora.tutorial.log.LogManager.main(LogManager.java:238)
>> Caused by: org.apache.gora.util.GoraException:
>> java.lang.IllegalArgumentException: Not a host:port pair: �
>
> I hope that this is the same issue you were having over at user@nutch
> where your HBase installation is not interoperable with gora 0.2.1.
> Can you clarify what version of HBase you are using and whether the
> issue goes away if you switch to HBase >= 0.90.4?
>
> Thank you
> Lewis

Re: Gora Tutorial Error Message

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Prashant,

On Thu, Aug 16, 2012 at 9:39 PM, Prashant Dave <pd...@gwmail.gwu.edu> wrote:

> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

We need to get rid of the above logging conflicts. This relates to GORA-125
https://issues.apache.org/jira/browse/GORA-125

I'll try to fix this in trunk just now.

> Exception in thread "main" java.lang.RuntimeException:
> org.apache.gora.util.GoraException:
> java.lang.IllegalArgumentException: Not a host:port pair: �
>         at org.apache.gora.tutorial.log.LogManager.<init>(LogManager.java:64)
>         at org.apache.gora.tutorial.log.LogManager.main(LogManager.java:238)
> Caused by: org.apache.gora.util.GoraException:
> java.lang.IllegalArgumentException: Not a host:port pair: �

I hope that this is the same issue you were having over at user@nutch
where your HBase installation is not interoperable with gora 0.2.1.
Can you clarify what version of HBase you are using and whether the
issue goes away if you switch to HBase >= 0.90.4?

Thank you
Lewis

Re: Gora Tutorial Error Message

Posted by Prashant Dave <pd...@gwmail.gwu.edu>.
I found a fix. There is a problem with a mismatch in the following 2 jar files -
gora-tutorial/lib/hbase*.jar

The files that are with the gora distribution are hbase-0.90.4.jar and
hbase-0.90.4-tests.jar. However, my hbase install is version
hbase-0.94.1.jar. So I had to copy the jar files over to the
gora-tutorial/lib and gora-hbase/lib directories.



On Thu, Aug 16, 2012 at 4:39 PM, Prashant Dave <pd...@gwmail.gwu.edu> wrote:
> I am getting the following error message when trying to follow the
> instructions of the tutorial at this page:
> http://gora.apache.org/docs/current/tutorial.html
>
>
>         ... 4 more
> pdave@pdave-Vostro-1500:~/src/apache-gora-0.2.1$ bin/gora logmanager
> -parse gora-tutorial/src/main/resources/access.log
> /home/pdave/src/apache-gora-0.2.1/conf:/usr/lib/jvm/java-7-openjdk-i386/lib/tools.jar:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/target/classes/
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/home/pdave/src/apache-gora-0.2.1/gora-tutorial/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.gora.util.GoraException:
> java.lang.IllegalArgumentException: Not a host:port pair: �
>         at org.apache.gora.tutorial.log.LogManager.<init>(LogManager.java:64)
>         at org.apache.gora.tutorial.log.LogManager.main(LogManager.java:238)
> Caused by: org.apache.gora.util.GoraException:
> java.lang.IllegalArgumentException: Not a host:port pair: �
>         at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
>         at org.apache.hadoop.hbase.MasterAddressTracker.getMasterAddress(MasterAddressTracker.java:63)
>         at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:354)
>         at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:94)
>         at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
>         at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
>         at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
>         ... 4 more