thrift+cassandra on RedHat 5...

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

thrift+cassandra on RedHat 5...

John Doe-3
Hi,

I need help with installing thrift-796660 and cassandra-0.3.0 on RedHat 5.
I don't have much experience with java installs...
I install everything in $PREFIX.

##### Thrift #####

[thrift]$ ./bootstrap.sh
configure.ac:50: error: possibly undefined macro: AC_PROG_MKDIR_P
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:144: error: possibly undefined macro: AC_TYPE_INT16_T
configure.ac:145: error: possibly undefined macro: AC_TYPE_INT32_T
configure.ac:146: error: possibly undefined macro: AC_TYPE_INT64_T
configure.ac:147: error: possibly undefined macro: AC_TYPE_INT8_T
configure.ac:151: error: possibly undefined macro: AC_TYPE_SSIZE_T
configure.ac:152: error: possibly undefined macro: AC_TYPE_UINT16_T
configure.ac:153: error: possibly undefined macro: AC_TYPE_UINT32_T
configure.ac:154: error: possibly undefined macro: AC_TYPE_UINT64_T
configure.ac:155: error: possibly undefined macro: AC_TYPE_UINT8_T
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'

I only selected java to limit the error messages.

[thrift]$ JAVA_PREFIX=$PREFIX/lib $HOMEDIR/thrift/configure --prefix=$PREFIX \
  --disable-gen-cpp \
  --disable-gen-csharp \
  --disable-gen-py \
  --disable-gen-rb \
  --disable-gen-perl \
  --disable-gen-php \
  --disable-gen-erl \
  --disable-gen-cocoa \
  --disable-gen-st \
  --disable-gen-ocaml \
  --disable-gen-hs \
  --disable-gen-xsd \
  --disable-gen-html \
  --without-csharp \
  --without-erlang \
  --without-py \
  --without-perl \
  --without-ruby
....
thrift/configure: line 19118: AC_PROG_MKDIR_P: command not found
....
checking for Java class org.apache.log4j.Logger... no
checking for Java class org.apache.commons.lang.builder.HashCodeBuilder... no
....
thrift/configure: line 23983: AC_TYPE_INT16_T: command not found
thrift/configure: line 23984: AC_TYPE_INT32_T: command not found
thrift/configure: line 23985: AC_TYPE_INT64_T: command not found
thrift/configure: line 23986: AC_TYPE_INT8_T: command not found
....
thrift/configure: line 24185: AC_TYPE_SSIZE_T: command not found
thrift/configure: line 24186: AC_TYPE_UINT16_T: command not found
thrift/configure: line 24187: AC_TYPE_UINT32_T: command not found
thrift/configure: line 24188: AC_TYPE_UINT64_T: command not found
thrift/configure: line 24189: AC_TYPE_UINT8_T: command not found

Then make fails on the test directory...
If I remove test from the subdirs in the makefile, I get no errors...

##### Cassandra #####

Had to chmod cassandra-cli to be executable.
Tried to run with the default configuration...

[cassandra]$ ./bin/cassandra
Listening for transport dt_socket at address: 8888
ERROR - Fatal exception in thread Thread[main,5,main]
java.lang.AssertionError: 0:0:0:0:0:0:0:1
        at org.apache.cassandra.net.EndPoint.<init>(EndPoint.java:66)
        at org.apache.cassandra.net.EndPoint.<clinit>(EndPoint.java:51)
        at org.apache.cassandra.service.StorageService.start(StorageService.java:292)
        at org.apache.cassandra.service.CassandraServer.start(CassandraServer.java:81)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:66)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:120)

The process is:
java -ea -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n -Xms128M -Xmx1G -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=1 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -Dcom.sun.management.jmxremote.port=8080 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcassandra -Dstorage-config=./bin/../conf -cp
 ./bin/../conf:./bin/../build/classes:./bin/../lib/antlr-3.1.3.jar:./bin/../lib/apache-cassandra-incubating-0.3.0.jar:./bin/../lib/commons-cli-1.1.jar:./bin/../lib/commons-collections-3.2.1.jar:./bin/../lib/commons-javaflow-1.0-SNAPSHOT.jar:./bin/../lib/commons-lang-2.4.jar:./bin/../lib/commons-logging-1.0.4.jar:./bin/../lib/commons-math-1.1.jar:./bin/../lib/groovy-1.5.6.jar:./bin/../lib/high-scale-lib.jar:./bin/../lib/jline-0.9.94.jar:./bin/../lib/junit-4.6.jar:./bin/../lib/libthrift.jar:./bin/../lib/log4j-1.2.15.jar:./bin/../lib/lucene-core-2.2.0.jar:./bin/../lib/stringtemplate-3.0.jar:./bin/../lib/zookeeper-3.0.0.jar org.apache.cassandra.service.CassandraDaemon

Configuration has:
  <ListenAddress>localhost</ListenAddress>
  <StoragePort>7000</StoragePort>
  <ControlPort>7001</ControlPort>
  <ThriftPort>9160</ThriftPort>
  <HttpPort>7002</HttpPort>

Netstat gives:
tcp        0      0 0.0.0.0:8888                0.0.0.0:*                   LISTEN      10599/java          
tcp        0      0 :::36450                    :::*                        LISTEN      10599/java          
tcp        0      0 :::8080                     :::*                        LISTEN      10599/java          
No port 9160...

I have autoconf automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel log4j

# rpm -qa | grep -i "java\|jdk" | sort
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
java-1.6.0-openjdk-1.6.0.0-0.30.b09.el5
java-1.6.0-openjdk-devel-1.6.0.0-0.30.b09.el5
jdk-1.5.0_15-fcs
jdk-1.6.0_07-fcs
sun-javadb-client-10.3.1-4.1
sun-javadb-common-10.3.1-4.1
sun-javadb-core-10.3.1-4.1
sun-javadb-demo-10.3.1-4.1
sun-javadb-docs-10.3.1-4.1
sun-javadb-javadoc-10.3.1-4.1

The final installation tree looks like:

$PREFIX/bin/cassandra
$PREFIX/bin/cassandra-cli
$PREFIX/bin/cassandra.in.sh
$PREFIX/bin/stop-server
$PREFIX/bin/thrift
$PREFIX/conf/log4j.properties
$PREFIX/conf/storage-conf.xml
$PREFIX/conf/storage-conf.xml.original
$PREFIX/include/thrift/concurrency/Exception.h
$PREFIX/include/thrift/concurrency/FunctionRunner.h
$PREFIX/include/thrift/concurrency/Monitor.h
$PREFIX/include/thrift/concurrency/Mutex.h
$PREFIX/include/thrift/concurrency/PosixThreadFactory.h
$PREFIX/include/thrift/concurrency/Thread.h
$PREFIX/include/thrift/concurrency/ThreadManager.h
$PREFIX/include/thrift/concurrency/TimerManager.h
$PREFIX/include/thrift/concurrency/Util.h
$PREFIX/include/thrift/config.h
$PREFIX/include/thrift/processor/PeekProcessor.h
$PREFIX/include/thrift/processor/StatsProcessor.h
$PREFIX/include/thrift/protocol/TBase64Utils.h
$PREFIX/include/thrift/protocol/TBinaryProtocol.h
$PREFIX/include/thrift/protocol/TCompactProtocol.h
$PREFIX/include/thrift/protocol/TDebugProtocol.h
$PREFIX/include/thrift/protocol/TDenseProtocol.h
$PREFIX/include/thrift/protocol/TJSONProtocol.h
$PREFIX/include/thrift/protocol/TOneWayProtocol.h
$PREFIX/include/thrift/protocol/TProtocolException.h
$PREFIX/include/thrift/protocol/TProtocol.h
$PREFIX/include/thrift/protocol/TProtocolTap.h
$PREFIX/include/thrift/server/TNonblockingServer.h
$PREFIX/include/thrift/server/TServer.h
$PREFIX/include/thrift/server/TSimpleServer.h
$PREFIX/include/thrift/server/TThreadedServer.h
$PREFIX/include/thrift/server/TThreadPoolServer.h
$PREFIX/include/thrift/Thrift.h
$PREFIX/include/thrift/TLogging.h
$PREFIX/include/thrift/TProcessor.h
$PREFIX/include/thrift/transport/TBufferTransports.h
$PREFIX/include/thrift/transport/TFDTransport.h
$PREFIX/include/thrift/transport/TFileTransport.h
$PREFIX/include/thrift/transport/THttpClient.h
$PREFIX/include/thrift/transport/TServerSocket.h
$PREFIX/include/thrift/transport/TServerTransport.h
$PREFIX/include/thrift/transport/TShortReadTransport.h
$PREFIX/include/thrift/transport/TSimpleFileTransport.h
$PREFIX/include/thrift/transport/TSocket.h
$PREFIX/include/thrift/transport/TSocketPool.h
$PREFIX/include/thrift/transport/TTransportException.h
$PREFIX/include/thrift/transport/TTransport.h
$PREFIX/include/thrift/transport/TTransportUtils.h
$PREFIX/include/thrift/transport/TZlibTransport.h
$PREFIX/include/thrift/TReflectionLocal.h
$PREFIX/interface/cassandra.thrift
$PREFIX/lib/antlr-3.1.3.jar
$PREFIX/lib/apache-cassandra-incubating-0.3.0.jar
$PREFIX/lib/commons-cli-1.1.jar
$PREFIX/lib/commons-collections-3.2.1.jar
$PREFIX/lib/commons-javaflow-1.0-SNAPSHOT.jar
$PREFIX/lib/commons-lang-2.4.jar
$PREFIX/lib/commons-logging-1.0.4.jar
$PREFIX/lib/commons-math-1.1.jar
$PREFIX/lib/groovy-1.5.6.jar
$PREFIX/lib/high-scale-lib.jar
$PREFIX/lib/jline-0.9.94.jar
$PREFIX/lib/junit-4.6.jar
$PREFIX/lib/libthrift.a
$PREFIX/lib/libthrift.jar
$PREFIX/lib/libthrift.la
$PREFIX/lib/libthriftnb.a
$PREFIX/lib/libthriftnb.la
$PREFIX/lib/libthriftnb.so
$PREFIX/lib/libthriftnb.so.0
$PREFIX/lib/libthriftnb.so.0.0.0
$PREFIX/lib/libthrift.so
$PREFIX/lib/libthrift.so.0
$PREFIX/lib/libthrift.so.0.0.0
$PREFIX/lib/libthriftz.a
$PREFIX/lib/libthriftz.la
$PREFIX/lib/libthriftz.so
$PREFIX/lib/libthriftz.so.0
$PREFIX/lib/libthriftz.so.0.0.0
$PREFIX/lib/licenses/antlr-3.1.3.jar.LICENSE
$PREFIX/lib/licenses/commons-cli-1.1.jar.LICENSE
$PREFIX/lib/licenses/commons-collections-3.2.1.jar.LICENSE
$PREFIX/lib/licenses/commons-javaflow-1.0-SNAPSHOT.jar.LICENSE
$PREFIX/lib/licenses/commons-lang-2.4.jar.LICENSE
$PREFIX/lib/licenses/commons-logging-1.0.4.jar.LICENSE
$PREFIX/lib/licenses/commons-math-1.1.jar.LICENSE
$PREFIX/lib/licenses/groovy-1.5.6.jar.LICENSE
$PREFIX/lib/licenses/high-scale-lib.jar.LICENSE
$PREFIX/lib/licenses/jline-0.9.94.jar.LICENSE
$PREFIX/lib/licenses/junit-4.6.jar.LICENSE
$PREFIX/lib/licenses/libthrift.jar.LICENSE
$PREFIX/lib/licenses/log4j-1.2.15.jar.LICENSE
$PREFIX/lib/licenses/lucene-core-2.2.0.jar.LICENSE
$PREFIX/lib/licenses/stringtemplate-3.0.jar.LICENSE
$PREFIX/lib/licenses/zookeeper-3.0.0.jar.LICENSE
$PREFIX/lib/log4j-1.2.15.jar
$PREFIX/lib/lucene-core-2.2.0.jar
$PREFIX/lib/pkgconfig/thrift-nb.pc
$PREFIX/lib/pkgconfig/thrift.pc
$PREFIX/lib/pkgconfig/thrift-z.pc
$PREFIX/lib/stringtemplate-3.0.jar
$PREFIX/lib/zookeeper-3.0.0.jar
$PREFIX/var/bootstrap
$PREFIX/var/callouts
$PREFIX/var/commitlog
$PREFIX/var/data
$PREFIX/var/staging
$PREFIX/var/system
$PREFIX/var/system/System.db
$PREFIX/var/system/Table1-Metadata.db

I suspect the thrift install is not complete,or I miss some java paths...
Any idea how to fix my install?

Thx,
JD


     

Reply | Threaded
Open this post in threaded view
|

Re: thrift+cassandra on RedHat 5...

Eric Evans-4
On Wed, 2009-07-22 at 06:57 -0700, John Doe wrote:
> I need help with installing thrift-796660 and cassandra-0.3.0 on RedHat 5.
> I don't have much experience with java installs...
> I install everything in $PREFIX.
>
> ##### Thrift #####

[ ... ]

> Then make fails on the test directory...
> If I remove test from the subdirs in the makefile, I get no errors...

If you are having issues getting Thrift installed, your best bet would
be to post to one of their lists
(http://incubator.apache.org/thrift/mailing/). They're better equipped
to help you with this sort of problem.

That said, if you removed the tests and got a complete build, you
*might* be OK (depending on which tests were failing and why), and the
Cassandra start-up errors below are *not* related to Thrift.

[ ... ]

> [cassandra]$ ./bin/cassandra
> Listening for transport dt_socket at address: 8888
> ERROR - Fatal exception in thread Thread[main,5,main]
> java.lang.AssertionError: 0:0:0:0:0:0:0:1
>         at org.apache.cassandra.net.EndPoint.<init>(EndPoint.java:66)
>         at org.apache.cassandra.net.EndPoint.<clinit>(EndPoint.java:51)
>         at org.apache.cassandra.service.StorageService.start(StorageService.java:292)
>         at org.apache.cassandra.service.CassandraServer.start(CassandraServer.java:81)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:66)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:120)

The assertion that created this exception is taking what is assumed to
be the "main address" for your node (should be the one that maps to the
hostname), and asserting that it is in the form of an IPv4 address.

Does this machine use an IPv6 interface? If so, that is probably not
going to work. If you haven't set it up for IPv6, then we need to figure
out how an InetAddress.getLocalHost() returned "0:0:0:0:0:0:0:1".      

--
Eric Evans
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: thrift+cassandra on RedHat 5...

John Doe-3
From: Eric Evans <[hidden email]>
> If you are having issues getting Thrift installed, your best bet would
> be to post to one of their lists
> (http://incubator.apache.org/thrift/mailing/). They're better equipped
> to help you with this sort of problem.

Thx for the link!
Google sent me to http://publists.facebook.com/pipermail/thrift/
I registered but it seemed "abandonned", so I decided to try here.

> The assertion that created this exception is taking what is assumed to
> be the "main address" for your node (should be the one that maps to the
> hostname), and asserting that it is in the form of an IPv4 address.
> Does this machine use an IPv6 interface? If so, that is probably not
> going to work. If you haven't set it up for IPv6, then we need to figure
> out how an InetAddress.getLocalHost() returned "0:0:0:0:0:0:0:1".      

While I have NETWORKING_IPV6=no, it still displays IPV6 adresses...
I think I have to prevent the module from being loaded,
but just commenting in my /etc/hosts the line that "I should not remove" solves this problem in the meantime... ^_^
  # Do not remove the following line, or various programs
  # that require network functionality will fail.
  #::1    localhost.localdomain   localhost       pc-03

Thx,
JD


     

Reply | Threaded
Open this post in threaded view
|

Re: thrift+cassandra on RedHat 5...

Anthony Molinaro-5
In reply to this post by John Doe-3
The problem you are having with thrift has to do with autoconf and automake
being older versions than work with thrift.  I worked around this by
copying the macros from newer installs and adding them to an acsite.m4
file.  I've attached the file, so if you just drop it into the root
of the thrift disto it should bootstrap without errors.

Let me know if you have other issues, I've spent the last few weeks
packaging up rpms for thrift and cassandra for centos-5 at work, so
can probably get you over build issues.

-Anthony

On Wed, Jul 22, 2009 at 06:57:04AM -0700, John Doe wrote:

> Hi,
>
> I need help with installing thrift-796660 and cassandra-0.3.0 on RedHat 5.
> I don't have much experience with java installs...
> I install everything in $PREFIX.
>
> ##### Thrift #####
>
> [thrift]$ ./bootstrap.sh
> configure.ac:50: error: possibly undefined macro: AC_PROG_MKDIR_P
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:144: error: possibly undefined macro: AC_TYPE_INT16_T
> configure.ac:145: error: possibly undefined macro: AC_TYPE_INT32_T
> configure.ac:146: error: possibly undefined macro: AC_TYPE_INT64_T
> configure.ac:147: error: possibly undefined macro: AC_TYPE_INT8_T
> configure.ac:151: error: possibly undefined macro: AC_TYPE_SSIZE_T
> configure.ac:152: error: possibly undefined macro: AC_TYPE_UINT16_T
> configure.ac:153: error: possibly undefined macro: AC_TYPE_UINT32_T
> configure.ac:154: error: possibly undefined macro: AC_TYPE_UINT64_T
> configure.ac:155: error: possibly undefined macro: AC_TYPE_UINT8_T
> configure.ac: installing `./install-sh'
> configure.ac: installing `./missing'
> compiler/cpp/Makefile.am: installing `./depcomp'
>
> I only selected java to limit the error messages.
>
> [thrift]$ JAVA_PREFIX=$PREFIX/lib $HOMEDIR/thrift/configure --prefix=$PREFIX \
>   --disable-gen-cpp \
>   --disable-gen-csharp \
>   --disable-gen-py \
>   --disable-gen-rb \
>   --disable-gen-perl \
>   --disable-gen-php \
>   --disable-gen-erl \
>   --disable-gen-cocoa \
>   --disable-gen-st \
>   --disable-gen-ocaml \
>   --disable-gen-hs \
>   --disable-gen-xsd \
>   --disable-gen-html \
>   --without-csharp \
>   --without-erlang \
>   --without-py \
>   --without-perl \
>   --without-ruby
> ....
> thrift/configure: line 19118: AC_PROG_MKDIR_P: command not found
> ....
> checking for Java class org.apache.log4j.Logger... no
> checking for Java class org.apache.commons.lang.builder.HashCodeBuilder... no
> ....
> thrift/configure: line 23983: AC_TYPE_INT16_T: command not found
> thrift/configure: line 23984: AC_TYPE_INT32_T: command not found
> thrift/configure: line 23985: AC_TYPE_INT64_T: command not found
> thrift/configure: line 23986: AC_TYPE_INT8_T: command not found
> ....
> thrift/configure: line 24185: AC_TYPE_SSIZE_T: command not found
> thrift/configure: line 24186: AC_TYPE_UINT16_T: command not found
> thrift/configure: line 24187: AC_TYPE_UINT32_T: command not found
> thrift/configure: line 24188: AC_TYPE_UINT64_T: command not found
> thrift/configure: line 24189: AC_TYPE_UINT8_T: command not found
>
> Then make fails on the test directory...
> If I remove test from the subdirs in the makefile, I get no errors...
>
> ##### Cassandra #####
>
> Had to chmod cassandra-cli to be executable.
> Tried to run with the default configuration...
>
> [cassandra]$ ./bin/cassandra
> Listening for transport dt_socket at address: 8888
> ERROR - Fatal exception in thread Thread[main,5,main]
> java.lang.AssertionError: 0:0:0:0:0:0:0:1
>         at org.apache.cassandra.net.EndPoint.<init>(EndPoint.java:66)
>         at org.apache.cassandra.net.EndPoint.<clinit>(EndPoint.java:51)
>         at org.apache.cassandra.service.StorageService.start(StorageService.java:292)
>         at org.apache.cassandra.service.CassandraServer.start(CassandraServer.java:81)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:66)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:120)
>
> The process is:
> java -ea -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n -Xms128M -Xmx1G -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=1 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -Dcom.sun.management.jmxremote.port=8080 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcassandra -Dstorage-config=./bin/../conf -cp
>  ./bin/../conf:./bin/../build/classes:./bin/../lib/antlr-3.1.3.jar:./bin/../lib/apache-cassandra-incubating-0.3.0.jar:./bin/../lib/commons-cli-1.1.jar:./bin/../lib/commons-collections-3.2.1.jar:./bin/../lib/commons-javaflow-1.0-SNAPSHOT.jar:./bin/../lib/commons-lang-2.4.jar:./bin/../lib/commons-logging-1.0.4.jar:./bin/../lib/commons-math-1.1.jar:./bin/../lib/groovy-1.5.6.jar:./bin/../lib/high-scale-lib.jar:./bin/../lib/jline-0.9.94.jar:./bin/../lib/junit-4.6.jar:./bin/../lib/libthrift.jar:./bin/../lib/log4j-1.2.15.jar:./bin/../lib/lucene-core-2.2.0.jar:./bin/../lib/stringtemplate-3.0.jar:./bin/../lib/zookeeper-3.0.0.jar org.apache.cassandra.service.CassandraDaemon
>
> Configuration has:
>   <ListenAddress>localhost</ListenAddress>
>   <StoragePort>7000</StoragePort>
>   <ControlPort>7001</ControlPort>
>   <ThriftPort>9160</ThriftPort>
>   <HttpPort>7002</HttpPort>
>
> Netstat gives:
> tcp        0      0 0.0.0.0:8888                0.0.0.0:*                   LISTEN      10599/java          
> tcp        0      0 :::36450                    :::*                        LISTEN      10599/java          
> tcp        0      0 :::8080                     :::*                        LISTEN      10599/java          
> No port 9160...
>
> I have autoconf automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel log4j
>
> # rpm -qa | grep -i "java\|jdk" | sort
> java-1.4.2-gcj-compat-1.4.2.0-40jpp.115
> java-1.6.0-openjdk-1.6.0.0-0.30.b09.el5
> java-1.6.0-openjdk-devel-1.6.0.0-0.30.b09.el5
> jdk-1.5.0_15-fcs
> jdk-1.6.0_07-fcs
> sun-javadb-client-10.3.1-4.1
> sun-javadb-common-10.3.1-4.1
> sun-javadb-core-10.3.1-4.1
> sun-javadb-demo-10.3.1-4.1
> sun-javadb-docs-10.3.1-4.1
> sun-javadb-javadoc-10.3.1-4.1
>
> The final installation tree looks like:
>
> $PREFIX/bin/cassandra
> $PREFIX/bin/cassandra-cli
> $PREFIX/bin/cassandra.in.sh
> $PREFIX/bin/stop-server
> $PREFIX/bin/thrift
> $PREFIX/conf/log4j.properties
> $PREFIX/conf/storage-conf.xml
> $PREFIX/conf/storage-conf.xml.original
> $PREFIX/include/thrift/concurrency/Exception.h
> $PREFIX/include/thrift/concurrency/FunctionRunner.h
> $PREFIX/include/thrift/concurrency/Monitor.h
> $PREFIX/include/thrift/concurrency/Mutex.h
> $PREFIX/include/thrift/concurrency/PosixThreadFactory.h
> $PREFIX/include/thrift/concurrency/Thread.h
> $PREFIX/include/thrift/concurrency/ThreadManager.h
> $PREFIX/include/thrift/concurrency/TimerManager.h
> $PREFIX/include/thrift/concurrency/Util.h
> $PREFIX/include/thrift/config.h
> $PREFIX/include/thrift/processor/PeekProcessor.h
> $PREFIX/include/thrift/processor/StatsProcessor.h
> $PREFIX/include/thrift/protocol/TBase64Utils.h
> $PREFIX/include/thrift/protocol/TBinaryProtocol.h
> $PREFIX/include/thrift/protocol/TCompactProtocol.h
> $PREFIX/include/thrift/protocol/TDebugProtocol.h
> $PREFIX/include/thrift/protocol/TDenseProtocol.h
> $PREFIX/include/thrift/protocol/TJSONProtocol.h
> $PREFIX/include/thrift/protocol/TOneWayProtocol.h
> $PREFIX/include/thrift/protocol/TProtocolException.h
> $PREFIX/include/thrift/protocol/TProtocol.h
> $PREFIX/include/thrift/protocol/TProtocolTap.h
> $PREFIX/include/thrift/server/TNonblockingServer.h
> $PREFIX/include/thrift/server/TServer.h
> $PREFIX/include/thrift/server/TSimpleServer.h
> $PREFIX/include/thrift/server/TThreadedServer.h
> $PREFIX/include/thrift/server/TThreadPoolServer.h
> $PREFIX/include/thrift/Thrift.h
> $PREFIX/include/thrift/TLogging.h
> $PREFIX/include/thrift/TProcessor.h
> $PREFIX/include/thrift/transport/TBufferTransports.h
> $PREFIX/include/thrift/transport/TFDTransport.h
> $PREFIX/include/thrift/transport/TFileTransport.h
> $PREFIX/include/thrift/transport/THttpClient.h
> $PREFIX/include/thrift/transport/TServerSocket.h
> $PREFIX/include/thrift/transport/TServerTransport.h
> $PREFIX/include/thrift/transport/TShortReadTransport.h
> $PREFIX/include/thrift/transport/TSimpleFileTransport.h
> $PREFIX/include/thrift/transport/TSocket.h
> $PREFIX/include/thrift/transport/TSocketPool.h
> $PREFIX/include/thrift/transport/TTransportException.h
> $PREFIX/include/thrift/transport/TTransport.h
> $PREFIX/include/thrift/transport/TTransportUtils.h
> $PREFIX/include/thrift/transport/TZlibTransport.h
> $PREFIX/include/thrift/TReflectionLocal.h
> $PREFIX/interface/cassandra.thrift
> $PREFIX/lib/antlr-3.1.3.jar
> $PREFIX/lib/apache-cassandra-incubating-0.3.0.jar
> $PREFIX/lib/commons-cli-1.1.jar
> $PREFIX/lib/commons-collections-3.2.1.jar
> $PREFIX/lib/commons-javaflow-1.0-SNAPSHOT.jar
> $PREFIX/lib/commons-lang-2.4.jar
> $PREFIX/lib/commons-logging-1.0.4.jar
> $PREFIX/lib/commons-math-1.1.jar
> $PREFIX/lib/groovy-1.5.6.jar
> $PREFIX/lib/high-scale-lib.jar
> $PREFIX/lib/jline-0.9.94.jar
> $PREFIX/lib/junit-4.6.jar
> $PREFIX/lib/libthrift.a
> $PREFIX/lib/libthrift.jar
> $PREFIX/lib/libthrift.la
> $PREFIX/lib/libthriftnb.a
> $PREFIX/lib/libthriftnb.la
> $PREFIX/lib/libthriftnb.so
> $PREFIX/lib/libthriftnb.so.0
> $PREFIX/lib/libthriftnb.so.0.0.0
> $PREFIX/lib/libthrift.so
> $PREFIX/lib/libthrift.so.0
> $PREFIX/lib/libthrift.so.0.0.0
> $PREFIX/lib/libthriftz.a
> $PREFIX/lib/libthriftz.la
> $PREFIX/lib/libthriftz.so
> $PREFIX/lib/libthriftz.so.0
> $PREFIX/lib/libthriftz.so.0.0.0
> $PREFIX/lib/licenses/antlr-3.1.3.jar.LICENSE
> $PREFIX/lib/licenses/commons-cli-1.1.jar.LICENSE
> $PREFIX/lib/licenses/commons-collections-3.2.1.jar.LICENSE
> $PREFIX/lib/licenses/commons-javaflow-1.0-SNAPSHOT.jar.LICENSE
> $PREFIX/lib/licenses/commons-lang-2.4.jar.LICENSE
> $PREFIX/lib/licenses/commons-logging-1.0.4.jar.LICENSE
> $PREFIX/lib/licenses/commons-math-1.1.jar.LICENSE
> $PREFIX/lib/licenses/groovy-1.5.6.jar.LICENSE
> $PREFIX/lib/licenses/high-scale-lib.jar.LICENSE
> $PREFIX/lib/licenses/jline-0.9.94.jar.LICENSE
> $PREFIX/lib/licenses/junit-4.6.jar.LICENSE
> $PREFIX/lib/licenses/libthrift.jar.LICENSE
> $PREFIX/lib/licenses/log4j-1.2.15.jar.LICENSE
> $PREFIX/lib/licenses/lucene-core-2.2.0.jar.LICENSE
> $PREFIX/lib/licenses/stringtemplate-3.0.jar.LICENSE
> $PREFIX/lib/licenses/zookeeper-3.0.0.jar.LICENSE
> $PREFIX/lib/log4j-1.2.15.jar
> $PREFIX/lib/lucene-core-2.2.0.jar
> $PREFIX/lib/pkgconfig/thrift-nb.pc
> $PREFIX/lib/pkgconfig/thrift.pc
> $PREFIX/lib/pkgconfig/thrift-z.pc
> $PREFIX/lib/stringtemplate-3.0.jar
> $PREFIX/lib/zookeeper-3.0.0.jar
> $PREFIX/var/bootstrap
> $PREFIX/var/callouts
> $PREFIX/var/commitlog
> $PREFIX/var/data
> $PREFIX/var/staging
> $PREFIX/var/system
> $PREFIX/var/system/System.db
> $PREFIX/var/system/Table1-Metadata.db
>
> I suspect the thrift install is not complete,or I miss some java paths...
> Any idea how to fix my install?
>
> Thx,
> JD
>
>
>      
>
--
------------------------------------------------------------------------
Anthony Molinaro                           <[hidden email]>

acsite.m4 (37K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: thrift+cassandra on RedHat 5...

John Doe-3
From: Anthony Molinaro <[hidden email]>
> The problem you are having with thrift has to do with autoconf and automake
> being older versions than work with thrift.  I worked around this by
> copying the macros from newer installs and adding them to an acsite.m4
> file.  I've attached the file, so if you just drop it into the root
> of the thrift disto it should bootstrap without errors.
>
> Let me know if you have other issues, I've spent the last few weeks
> packaging up rpms for thrift and cassandra for centos-5 at work, so
> can probably get you over build issues.

Cool, no more configure error messages.
It still fails when make enters the test directory (missing DebugProtoTest_types.cpp) but I can still run make install...
One day I will have to take the time to learn to make specs files too... ^_^

Thx a lot,
JD