<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Anyone ever tried using Hunk with Datastax Enterprise? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175992#M72701</link>
    <description>&lt;P&gt;Thanks, I briefly checked but couldn't find any jar with that in it. I will look more closely tomorrow. I might just be able to put the cassandra jars in there, but I doubt it would work since grep didn't find anything.&lt;/P&gt;

&lt;P&gt;I did find this too: &lt;A href="http://www.datastax.com/support-forums/topic/how-can-we-enable-hdfs-and-cfs-too"&gt;http://www.datastax.com/support-forums/topic/how-can-we-enable-hdfs-and-cfs-too&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It looks like I can make HDFS the default, but that sort of defeats the purpose of having CFS. &lt;/P&gt;

&lt;P&gt;Thanks for your help! I will let you know if I find the jar.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2014 03:28:00 GMT</pubDate>
    <dc:creator>dcparker</dc:creator>
    <dc:date>2014-03-06T03:28:00Z</dc:date>
    <item>
      <title>Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175979#M72688</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I was playing around and trying to set up my Datastax Enterprise Analytics nodes with Hunk.&lt;BR /&gt;
Info about DSE: &lt;A href="http://www.datastax.com/documentation/datastax_enterprise/3.2/datastax_enterprise/ana/anaTOC.html?"&gt;DSE Hadoop&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;I got to creating the index but unfortunately Datastax uses CFS rather than HDFS. I tried setting up the provider as HDFS anyway and that didn't work and when I try CFS I get:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [test hadoop] RuntimeException - Failed to create a virtual index filesystem connection: No FileSystem for scheme: cfs. Advice: Verify that your vix.fs.default.name is correct and available. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Using HDFS: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; Failed to create a virtual index filesystem connection: Call to hostname/192.168.31.1:9160 failed on local exception: java.io.EOFException.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Not sure if this is really possible but was curious if anyone else had tried this. Thanks for any help/advice!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 01:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175979#M72688</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T01:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175980#M72689</link>
      <description>&lt;P&gt;Can you access CFS from the hadoop CLI? e.g &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;hadoop fs -ls cfs://....
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Mar 2014 01:43:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175980#M72689</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T01:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175981#M72690</link>
      <description>&lt;P&gt;Yes, here's a sample:&lt;/P&gt;

&lt;P&gt;bash-4.1$ dse hadoop fs -ls cfs://&lt;BR /&gt;
Found 2 items&lt;BR /&gt;
drwxrwxrwx   - cassandra   cassandra          0 2014-03-05 18:09 /data1&lt;BR /&gt;
drwxrwxrwx   - cassandra cassandra          0 2014-03-05 18:01 /tmp&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 01:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175981#M72690</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T01:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175982#M72691</link>
      <description>&lt;P&gt;Great! What about calling the CLI directly as in: "hadoop fs -ls cfs://"  ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 01:51:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175982#M72691</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T01:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175983#M72692</link>
      <description>&lt;P&gt;oh - sorry, I misunderstood.&lt;/P&gt;

&lt;P&gt;If I go to the dir where the hadoop binary is and try to run it I get:&lt;BR /&gt;
bash-4.1$ ./hadoop fs -ls cfs://&lt;BR /&gt;
ls: No FileSystem for scheme: cfs&lt;/P&gt;

&lt;P&gt;However, I can do:&lt;BR /&gt;
./hadoop fs -ls /data1&lt;BR /&gt;
drwx------   - root      root           16384 2014-02-20 17:04 /data1/lost+found&lt;BR /&gt;
drwxr-xr-x   - cassandra   cassandra        4096 2014-03-05 18:30 /data1/hunk&lt;BR /&gt;
drwxrwxr-x   - cassandra cassandra       4096 2014-03-05 18:01 /data1/cassandra&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:03:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175983#M72692</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T02:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175984#M72693</link>
      <description>&lt;P&gt;Can you share the content of indexes.conf and core-site.xml? This is most likely a config issue wrt cfs not being a registered filesystem in the hadoop conf&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175984#M72693</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T02:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175985#M72694</link>
      <description>&lt;P&gt;Here is indexes.conf&lt;BR /&gt;
[provider:test hadoop]&lt;BR /&gt;
vix.env.HADOOP_HOME = /usr/share/dse/hadoop/&lt;BR /&gt;
vix.env.JAVA_HOME = /usr&lt;BR /&gt;
vix.family = hadoop&lt;BR /&gt;
vix.fs.default.name = hdfs://hostname:9160&lt;BR /&gt;
vix.mapred.job.tracker = hostname:8012&lt;BR /&gt;
vix.splunk.home.hdfs = /data1/hunk/&lt;/P&gt;

&lt;P&gt;[testing]&lt;BR /&gt;
vix.input.1.path = /...&lt;BR /&gt;
vix.provider = test hadoop&lt;/P&gt;

&lt;P&gt;Here is core-site:&lt;BR /&gt;
&lt;A href="http://pastebin.com/LL69Hn4a" target="_blank"&gt;http://pastebin.com/LL69Hn4a&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175985#M72694</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2020-09-28T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175986#M72695</link>
      <description>&lt;P&gt;Hmmm, so you're not using cfs:// - I wonder where the cfs is coming from. Can you also share the contents of search.log? Also, does "hadoop fs -ls hdfs://hostname:9160/" return anything?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175986#M72695</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T02:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175987#M72696</link>
      <description>&lt;P&gt;I tried to use CFS in the indexes config but got the " [test hadoop] RuntimeException - Failed to create a virtual index filesystem connection: No FileSystem for scheme: cfs. Advice: Verify that your vix.fs.default.name is correct and available. " That's when I changed to hdfs to see if it worked. &lt;/P&gt;

&lt;P&gt;Trying that command returns a: failed on local exception: java.io.EOFException&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175987#M72696</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T02:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175988#M72697</link>
      <description>&lt;P&gt;search.log with cfs:&lt;BR /&gt;
&lt;A href="http://pastebin.com/3y2pFd8s"&gt;http://pastebin.com/3y2pFd8s&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;search.log with hdfs:&lt;BR /&gt;
&lt;A href="http://pastebin.com/STUEHxnV"&gt;http://pastebin.com/STUEHxnV&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175988#M72697</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T02:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175989#M72698</link>
      <description>&lt;P&gt;Thanks for clarifying what's happening. Can you try:&lt;/P&gt;

&lt;P&gt;(1) add the following to the provider stanza &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;vix.fs.cfs.impl = com.datastax.bdp.hadoop.cfs.CassandraFileSystem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(2) use vix.fs.default.name = cfs://cassandrahost/&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:51:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175989#M72698</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T02:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175990#M72699</link>
      <description>&lt;P&gt;Ok. Assuming I did this right, here's what it shows now:&lt;/P&gt;

&lt;P&gt;[test hadoop] RuntimeException - Failed to create a virtual index filesystem connection: java.lang.ClassNotFoundException: com.datastax.bdp.hadoop.cfs.CassandraFileSystem. Advice: Verify that your vix.fs.default.name is correct and available. &lt;/P&gt;

&lt;P&gt;I added&lt;BR /&gt;
    vix.fs.cfs.impl = com.datastax.bdp.hadoop.cfs.CassandraFileSystem&lt;/P&gt;

&lt;P&gt;to indexes.conf. Is that correct?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:59:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175990#M72699</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T02:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175991#M72700</link>
      <description>&lt;P&gt;Correct - indexes.conf. Now you're running into a classpath issue. Can you try to find the cassandra jar where this class com.datastax.bdp.hadoop.cfs.CassandraFileSystem is defined and then add that jar to the following field in the provider: vix.env.HADOOP_CLASSPATH&lt;/P&gt;

&lt;P&gt;Command to list the contents of the jar: unzip -l [jar-file] | grep CassandraFileSystem&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 03:10:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175991#M72700</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T03:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175992#M72701</link>
      <description>&lt;P&gt;Thanks, I briefly checked but couldn't find any jar with that in it. I will look more closely tomorrow. I might just be able to put the cassandra jars in there, but I doubt it would work since grep didn't find anything.&lt;/P&gt;

&lt;P&gt;I did find this too: &lt;A href="http://www.datastax.com/support-forums/topic/how-can-we-enable-hdfs-and-cfs-too"&gt;http://www.datastax.com/support-forums/topic/how-can-we-enable-hdfs-and-cfs-too&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It looks like I can make HDFS the default, but that sort of defeats the purpose of having CFS. &lt;/P&gt;

&lt;P&gt;Thanks for your help! I will let you know if I find the jar.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 03:28:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175992#M72701</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T03:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175993#M72702</link>
      <description>&lt;P&gt;actually I found it, dse.jar. &lt;/P&gt;

&lt;P&gt;I put it in there and see:&lt;/P&gt;

&lt;P&gt;[test hadoop] RuntimeException - Failed to create a virtual index filesystem connection: java.lang.reflect.InvocationTargetException. Advice: Verify that your vix.fs.default.name is correct and available.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 03:35:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175993#M72702</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175994#M72703</link>
      <description>&lt;P&gt;Can you provide search.log?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 03:39:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175994#M72703</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-06T03:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175995#M72704</link>
      <description>&lt;P&gt;Here's search.log&lt;BR /&gt;
&lt;A href="http://pastebin.com/5ucVrKrb"&gt;http://pastebin.com/5ucVrKrb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 13:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175995#M72704</guid>
      <dc:creator>dcparker</dc:creator>
      <dc:date>2014-03-06T13:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone ever tried using Hunk with Datastax Enterprise?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175996#M72705</link>
      <description>&lt;P&gt;Hmm, unfortunately we don't log the entire stacktrace so we'd have to guess at this point - maybe &lt;A href="http://stackoverflow.com/questions/19534811/cassandra-startup-java-lang-reflect-invocationtargetexception"&gt;http://stackoverflow.com/questions/19534811/cassandra-startup-java-lang-reflect-invocationtargetexception&lt;/A&gt;?&lt;/P&gt;

&lt;P&gt;I would recommend that you try to get the Hadoop CLI tools to work with cfs:// filesystem directly (ie no dse hadoop fs ..) and then we can apply those conf changes to Hunk - which is fs insensitive, for example we work with Amazon's s3/n out of the box.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 02:29:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Anyone-ever-tried-using-Hunk-with-Datastax-Enterprise/m-p/175996#M72705</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-03-07T02:29:36Z</dc:date>
    </item>
  </channel>
</rss>

