<?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 Null pointer with Hunk and EMR in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138335#M11710</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to get Hunk for AWS ELB up and running and every search is failing with &lt;/P&gt;

&lt;P&gt;[elb_log_provider] Error while running external process, return_code=255. See search.log for more info&lt;BR /&gt;
[elb_log_provider] NullPointerException - null&lt;/P&gt;

&lt;P&gt;04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -  SplunkMR - &lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -  java.lang.NullPointerException&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.JobSubmitter.waitForCurrentJobToComplete(JobSubmitter.java:300)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.JobSubmitter.waitForCompletion(JobSubmitter.java:117)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.executeMapReduce(SplunkMR.java:1198)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.executeImpl(SplunkMR.java:1152)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.execute(SplunkMR.java:1075)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.runImpl(SplunkMR.java:1370)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.run(SplunkMR.java:1212)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.main(SplunkMR.java:1382)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.RunJar.main(RunJar.java:212)&lt;/P&gt;

&lt;P&gt;Not sure what I am doing wrong. It seems to die at a different point each time.&lt;/P&gt;

&lt;P&gt;Byron&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:26:02 GMT</pubDate>
    <dc:creator>ravenbyron</dc:creator>
    <dc:date>2020-09-28T16:26:02Z</dc:date>
    <item>
      <title>Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138335#M11710</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to get Hunk for AWS ELB up and running and every search is failing with &lt;/P&gt;

&lt;P&gt;[elb_log_provider] Error while running external process, return_code=255. See search.log for more info&lt;BR /&gt;
[elb_log_provider] NullPointerException - null&lt;/P&gt;

&lt;P&gt;04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -  SplunkMR - &lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -  java.lang.NullPointerException&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.JobSubmitter.waitForCurrentJobToComplete(JobSubmitter.java:300)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.JobSubmitter.waitForCompletion(JobSubmitter.java:117)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.executeMapReduce(SplunkMR.java:1198)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.executeImpl(SplunkMR.java:1152)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR$SearchHandler.execute(SplunkMR.java:1075)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.runImpl(SplunkMR.java:1370)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.run(SplunkMR.java:1212)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at com.splunk.mr.SplunkMR.main(SplunkMR.java:1382)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;
04-22-2014 14:48:04.885 ERROR ERP.elb_log_provider -    at org.apache.hadoop.util.RunJar.main(RunJar.java:212)&lt;/P&gt;

&lt;P&gt;Not sure what I am doing wrong. It seems to die at a different point each time.&lt;/P&gt;

&lt;P&gt;Byron&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138335#M11710</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2020-09-28T16:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138336#M11711</link>
      <description>&lt;P&gt;Can you please share the full contents of search.log with us? As well as what version of EMR are you trying to use?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Apr 2014 04:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138336#M11711</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-04-26T04:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138337#M11712</link>
      <description>&lt;P&gt;I would be happy to share the full log but it has my aws keys is there some way I can send it to support w/o posting it publicly. &lt;/P&gt;

&lt;P&gt;And its a default EMR cluster &lt;BR /&gt;
AMI version:3.0.4&lt;BR /&gt;
Hadoop distribution:Amazon 2.2.0&lt;BR /&gt;
Applications:Hive 0.11.0.2, Pig 0.11.1.1&lt;BR /&gt;
Master:Running-1-m3.xlarge&lt;BR /&gt;
Core:Running-3-m3.xlarge&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 19:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138337#M11712</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2014-04-28T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138338#M11713</link>
      <description>&lt;P&gt;There are some known issues with Hunk and Amazon's Hadoop 2.2.0 that cause Hunk to not be able to spawn MapReduce jobs. If you're using the EMR cluster exclusively for Hunk I would recommend that you try Amazon's 1.0.3 version. Also, from the search.log I noticed that there's a possible misconfiguration for the time extraction from the paths, there's a ton of these warning lines:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-28-2014 19:29:22.819 WARN  ERP.elb_log_provider -  VixTimeSpecifier - Could not match time regex="/AWSLogs/*/elasticloadbalancing/*/(\d+)/(\d+)/(\d+)/" against path="/logs/AWSLogs/&amp;lt;redacted&amp;gt;"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;replacing '*' with '.*?' should fix this issue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 21:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138338#M11713</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-04-28T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138339#M11714</link>
      <description>&lt;P&gt;I changed the EMR Cluster to &lt;BR /&gt;
AMI version:2.4.2&lt;BR /&gt;
Hadoop distribution:Amazon 1.0.3&lt;BR /&gt;
Applications:Hive 0.11.0.1, Pig 0.11.1.1&lt;/P&gt;

&lt;P&gt;And updated the time extract path  (it needed a * at the end of it).&lt;/P&gt;

&lt;P&gt;Now it just seems really slow. The data isn't very big (a few gb) but across 1000's of files. Any suggestions on making it faster?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 23:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138339#M11714</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2014-04-28T23:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138340#M11715</link>
      <description>&lt;P&gt;I changed the EMR Cluster to &lt;BR /&gt;
AMI version:2.4.2&lt;BR /&gt;
Hadoop distribution:Amazon 1.0.3&lt;BR /&gt;
Applications:Hive 0.11.0.1, Pig 0.11.1.1&lt;/P&gt;

&lt;P&gt;And updated the time extract path  (it needed a * at the end of it).&lt;/P&gt;

&lt;P&gt;Now it just seems really slow. The data isn't very big (a few gb) but across 1000's of files. Any suggestions on making it faster?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 23:16:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138340#M11715</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2014-04-28T23:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138341#M11716</link>
      <description>&lt;P&gt;I changed the EMR Cluster to &lt;BR /&gt;
AMI version:2.4.2&lt;BR /&gt;
Hadoop distribution:Amazon 1.0.3&lt;BR /&gt;
Applications:Hive 0.11.0.1, Pig 0.11.1.1&lt;/P&gt;

&lt;P&gt;And updated the time extract path  (it needed a * at the end of it).&lt;/P&gt;

&lt;P&gt;Now it just seems really slow. The data isn't very big (a few gb) but across 1000's of files. Any suggestions on making it faster?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 23:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138341#M11716</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2014-04-28T23:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138342#M11717</link>
      <description>&lt;P&gt;I changed the EMR Cluster to &lt;BR /&gt;
AMI version:2.4.2&lt;BR /&gt;
Hadoop distribution:Amazon 1.0.3&lt;BR /&gt;
Applications:Hive 0.11.0.1, Pig 0.11.1.1&lt;/P&gt;

&lt;P&gt;And updated the time extract path  (it needed a * at the end of it).&lt;/P&gt;

&lt;P&gt;Now it just seems really slow. The data isn't very big (a few gb) but across 1000's of files. Any suggestions on making it faster?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2014 23:17:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138342#M11717</guid>
      <dc:creator>ravenbyron</dc:creator>
      <dc:date>2014-04-28T23:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer with Hunk and EMR</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138343#M11718</link>
      <description>&lt;P&gt;There are definitely a few optimization knobs that can be turned from the Hunk side - can you please share search.log with us again so we can see what's taking up the time?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 17:06:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Null-pointer-with-Hunk-and-EMR/m-p/138343#M11718</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2014-04-29T17:06:17Z</dc:date>
    </item>
  </channel>
</rss>

