You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by Eric Owhadi <er...@esgyn.com> on 2016/02/25 17:16:41 UTC

missing $MY_SQROOT/etc/traf_coprocessor.properties

Hello Trafodioneers,

May be an obvious question, but I must be missing a step that is populating
that $MY_SQROOT/etc/traf_coprocessor.properties when building trafodion on
a dev environment?





The direct symptom is ;

#> sqlci

Apache Trafodion Conversational Interface 2.0.0

Copyright (c) 2015 Apache Software Foundation

>>select count(*) from t1321m;



*** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix
that error and make sure hbase is up and running. Error Details:

java.lang.NullPointerException

java.lang.String.contains(String.java:2076)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)

org.trafodion.sql.HBaseClient.getHTableClient(HBaseClient.java:861)

.



*** ERROR[4082] Object TRAFODION.SEABASE.T1321M does not exist or is
inaccessible.



*** ERROR[8822] The statement was not prepared.



>>exit



Thanks in advance for the help,
Eric

RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Posted by Selva Govindarajan <se...@esgyn.com>.
Good to know it worked. I just found out that this file
traf_coprocessor.properties file is shipped by trafodion in sql/scripts
directory. I just wanted to correct my earlier message, to avoid any
confusion.

Selva

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Thursday, February 25, 2016 8:41 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Very nice,
Sqgen got me back on my feet.
Thanks for the help :-),
Eric

-----Original Message-----
From: Selva Govindarajan [mailto:selva.govindarajan@esgyn.com]
Sent: Thursday, February 25, 2016 10:33 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

I think sqgen just copies this file from sql/scripts directory to etc
directory. I believe this file is created in the scripts directory by
install_local_hadoop.

Selva

-----Original Message-----
From: Narendra Goyal [mailto:narendra.goyal@esgyn.com]
Sent: Thursday, February 25, 2016 8:20 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hi Eric,

An 'sqgen' would generate that file.

So, please shutdown the Trafodion env and execute 'sqgen'.

Thanks,
-Narendra

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Thursday, February 25, 2016 8:17 AM
To: dev@trafodion.incubator.apache.org
Subject: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hello Trafodioneers,

May be an obvious question, but I must be missing a step that is populating
that $MY_SQROOT/etc/traf_coprocessor.properties when building trafodion on a
dev environment?





The direct symptom is ;

#> sqlci

Apache Trafodion Conversational Interface 2.0.0

Copyright (c) 2015 Apache Software Foundation

>>select count(*) from t1321m;



*** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix
that error and make sure hbase is up and running. Error Details:

java.lang.NullPointerException

java.lang.String.contains(String.java:2076)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)

org.trafodion.sql.HBaseClient.getHTableClient(HBaseClient.java:861)

.



*** ERROR[4082] Object TRAFODION.SEABASE.T1321M does not exist or is
inaccessible.



*** ERROR[8822] The statement was not prepared.



>>exit



Thanks in advance for the help,
Eric

RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Posted by Eric Owhadi <er...@esgyn.com>.
Very nice,
Sqgen got me back on my feet.
Thanks for the help :-),
Eric

-----Original Message-----
From: Selva Govindarajan [mailto:selva.govindarajan@esgyn.com]
Sent: Thursday, February 25, 2016 10:33 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

I think sqgen just copies this file from sql/scripts directory to etc
directory. I believe this file is created in the scripts directory by
install_local_hadoop.

Selva

-----Original Message-----
From: Narendra Goyal [mailto:narendra.goyal@esgyn.com]
Sent: Thursday, February 25, 2016 8:20 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hi Eric,

An 'sqgen' would generate that file.

So, please shutdown the Trafodion env and execute 'sqgen'.

Thanks,
-Narendra

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Thursday, February 25, 2016 8:17 AM
To: dev@trafodion.incubator.apache.org
Subject: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hello Trafodioneers,

May be an obvious question, but I must be missing a step that is populating
that $MY_SQROOT/etc/traf_coprocessor.properties when building trafodion on a
dev environment?





The direct symptom is ;

#> sqlci

Apache Trafodion Conversational Interface 2.0.0

Copyright (c) 2015 Apache Software Foundation

>>select count(*) from t1321m;



*** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix
that error and make sure hbase is up and running. Error Details:

java.lang.NullPointerException

java.lang.String.contains(String.java:2076)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)

org.trafodion.sql.HBaseClient.getHTableClient(HBaseClient.java:861)

.



*** ERROR[4082] Object TRAFODION.SEABASE.T1321M does not exist or is
inaccessible.



*** ERROR[8822] The statement was not prepared.



>>exit



Thanks in advance for the help,
Eric

RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Posted by Selva Govindarajan <se...@esgyn.com>.
I think sqgen just copies this file from sql/scripts directory to etc
directory. I believe this file is created in the scripts directory by
install_local_hadoop.

Selva

-----Original Message-----
From: Narendra Goyal [mailto:narendra.goyal@esgyn.com]
Sent: Thursday, February 25, 2016 8:20 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hi Eric,

An 'sqgen' would generate that file.

So, please shutdown the Trafodion env and execute 'sqgen'.

Thanks,
-Narendra

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Thursday, February 25, 2016 8:17 AM
To: dev@trafodion.incubator.apache.org
Subject: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hello Trafodioneers,

May be an obvious question, but I must be missing a step that is populating
that $MY_SQROOT/etc/traf_coprocessor.properties when building trafodion on a
dev environment?





The direct symptom is ;

#> sqlci

Apache Trafodion Conversational Interface 2.0.0

Copyright (c) 2015 Apache Software Foundation

>>select count(*) from t1321m;



*** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix
that error and make sure hbase is up and running. Error Details:

java.lang.NullPointerException

java.lang.String.contains(String.java:2076)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)

org.trafodion.sql.HBaseClient.getHTableClient(HBaseClient.java:861)

.



*** ERROR[4082] Object TRAFODION.SEABASE.T1321M does not exist or is
inaccessible.



*** ERROR[8822] The statement was not prepared.



>>exit



Thanks in advance for the help,
Eric

RE: missing $MY_SQROOT/etc/traf_coprocessor.properties

Posted by Narendra Goyal <na...@esgyn.com>.
Hi Eric,

An 'sqgen' would generate that file.

So, please shutdown the Trafodion env and execute 'sqgen'.

Thanks,
-Narendra

-----Original Message-----
From: Eric Owhadi [mailto:eric.owhadi@esgyn.com]
Sent: Thursday, February 25, 2016 8:17 AM
To: dev@trafodion.incubator.apache.org
Subject: missing $MY_SQROOT/etc/traf_coprocessor.properties

Hello Trafodioneers,

May be an obvious question, but I must be missing a step that is populating
that $MY_SQROOT/etc/traf_coprocessor.properties when building trafodion on a
dev environment?





The direct symptom is ;

#> sqlci

Apache Trafodion Conversational Interface 2.0.0

Copyright (c) 2015 Apache Software Foundation

>>select count(*) from t1321m;



*** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix
that error and make sure hbase is up and running. Error Details:

java.lang.NullPointerException

java.lang.String.contains(String.java:2076)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)

org.trafodion.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)

org.trafodion.sql.HBaseClient.getHTableClient(HBaseClient.java:861)

.



*** ERROR[4082] Object TRAFODION.SEABASE.T1321M does not exist or is
inaccessible.



*** ERROR[8822] The statement was not prepared.



>>exit



Thanks in advance for the help,
Eric