Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.5.0
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None

      Description

      A very rough stab at a Cassandra datacollection writer (attemped copy of the Hbase one) using the pelops adaptor. To use this, simply tar xvfz chukwa_cassandra.zip in the root of your cassandra install. Run ant and copy the collector and core war/jar files. You will also need to add 2 entries to your configuration for the keyspace and the hostname otherwise the default Keyspace 'Chukwa_Keyspace' and host 'localhost' will be used.

      <property>
      <name>cassandra.keyspace</name>
      <value>Keyspace1</value>
      <description>The name of the keyspace</description>
      </property>

      <property>
      <name>cassandra.cluster.host</name>
      <value>localhost</value>
      <description>The hostname of the cluster to connect to </description>
      </property>

      Also, the following jars were used and place into the lib/ directory before running ant.

      apache-cassandra-1.0.0.jar
      apache-cassandra-thrift-1.0.0.jar
      scale7-pelops-1.3-1.0.x-SNAPSHOT.jar
      scale7-core-1.4-SNAPSHOT.jar
      slf4j-simple-1.6.3.jar
      slf4j-api-1.6.3.jar
      commons-pool-1.5.5.jar
      libthrift-0.6.jar

      1. chukwa_cassandra.tgz
        14 kB
        Adam Denenberg

        Activity

        Adam Denenberg created issue -
        Adam Denenberg made changes -
        Field Original Value New Value
        Attachment chukwa_cassandra.tgz [ 12501900 ]
        Hide
        Ari Rabkin added a comment -

        Hrm. I'm more-or-less willing to commit this as-is, but it would be better if it had tests and/or documentation. Thoughts, folks?

        Show
        Ari Rabkin added a comment - Hrm. I'm more-or-less willing to commit this as-is, but it would be better if it had tests and/or documentation. Thoughts, folks?
        Hide
        Ari Rabkin added a comment -

        Addendum. There's a second problem, and maybe a fatal one. Applying this as a patch would make Cassandra a compile-time dependency of Chukwa. Is there a way around this? It seems like a nifty feature to have....

        Show
        Ari Rabkin added a comment - Addendum. There's a second problem, and maybe a fatal one. Applying this as a patch would make Cassandra a compile-time dependency of Chukwa. Is there a way around this? It seems like a nifty feature to have....

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Denenberg
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development