<?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>question Invalid/conflicting GC options found error in Hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220489#M66702</link>
    <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;I'm running query at hive and getting the following error. Please help!&lt;/P&gt;&lt;P&gt;hive&amp;gt; select serialno, count(*) from cdr_data where hday='2017-08-01' group by serialno having count(*) &amp;gt;1;
&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Query ID = hdfs_20170816104340_764cc276-8015-4655-b153-a6bcf445a603
Total jobs = 1
Launching Job 1 out of 1
Dag submit failed due to Invalid TaskLaunchCmdOpts defined for Vertex Map 1 : Invalid/conflicting GC options found, cmdOpts="-server -Djava.net.preferIPv4Stack=true -Dhdp.version=2.6.0.3-8 -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseG1GC -XX:+ResizeTLAB -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ -Dlog4j.configuratorClass=org.apache.tez.common.TezLog4jConfigurator -Dlog4j.configuration=tez-container-log4j.properties -Dyarn.app.container.log.dir=&amp;lt;LOG_DIR&amp;gt; -Dtez.root.logger=INFO,CLA " stack trace: [org.apache.tez.dag.api.DAG.createDag(DAG.java:879), org.apache.tez.client.TezClientUtils.prepareAndCreateDAGPlan(TezClientUtils.java:678), org.apache.tez.client.TezClient.submitDAGSession(TezClient.java:444), org.apache.tez.client.TezClient.submitDAG(TezClient.java:411), org.apache.hadoop.hive.ql.exec.tez.TezTask.submit(TezTask.java:470), org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:188), org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160), org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89), org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1748), org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1494), org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1291), org.apache.hadoop.hive.ql.Driver.run(Driver.java:1158), org.apache.hadoop.hive.ql.Driver.run(Driver.java:1148), org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:217), org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:169), org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:380), org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:740), org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:685), org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), org.apache.hadoop.util.RunJar.run(RunJar.java:233), org.apache.hadoop.util.RunJar.main(RunJar.java:148)] retrying...
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 12:05:32 GMT</pubDate>
    <dc:creator>a_gulshani</dc:creator>
    <dc:date>2017-08-16T12:05:32Z</dc:date>
    <item>
      <title>Invalid/conflicting GC options found error in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220489#M66702</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;I'm running query at hive and getting the following error. Please help!&lt;/P&gt;&lt;P&gt;hive&amp;gt; select serialno, count(*) from cdr_data where hday='2017-08-01' group by serialno having count(*) &amp;gt;1;
&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Query ID = hdfs_20170816104340_764cc276-8015-4655-b153-a6bcf445a603
Total jobs = 1
Launching Job 1 out of 1
Dag submit failed due to Invalid TaskLaunchCmdOpts defined for Vertex Map 1 : Invalid/conflicting GC options found, cmdOpts="-server -Djava.net.preferIPv4Stack=true -Dhdp.version=2.6.0.3-8 -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseG1GC -XX:+ResizeTLAB -XX:+PrintGCDetails -verbose:gc -XX:+PrintGCTimeStamps -XX:+UseNUMA -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/ -Dlog4j.configuratorClass=org.apache.tez.common.TezLog4jConfigurator -Dlog4j.configuration=tez-container-log4j.properties -Dyarn.app.container.log.dir=&amp;lt;LOG_DIR&amp;gt; -Dtez.root.logger=INFO,CLA " stack trace: [org.apache.tez.dag.api.DAG.createDag(DAG.java:879), org.apache.tez.client.TezClientUtils.prepareAndCreateDAGPlan(TezClientUtils.java:678), org.apache.tez.client.TezClient.submitDAGSession(TezClient.java:444), org.apache.tez.client.TezClient.submitDAG(TezClient.java:411), org.apache.hadoop.hive.ql.exec.tez.TezTask.submit(TezTask.java:470), org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:188), org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160), org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89), org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1748), org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1494), org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1291), org.apache.hadoop.hive.ql.Driver.run(Driver.java:1158), org.apache.hadoop.hive.ql.Driver.run(Driver.java:1148), org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:217), org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:169), org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:380), org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:740), org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:685), org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:498), org.apache.hadoop.util.RunJar.run(RunJar.java:233), org.apache.hadoop.util.RunJar.main(RunJar.java:148)] retrying...
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 12:05:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220489#M66702</guid>
      <dc:creator>a_gulshani</dc:creator>
      <dc:date>2017-08-16T12:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid/conflicting GC options found error in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220490#M66703</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/31160/agulshani.html" nodeid="31160"&gt;@Gulshan Agivetova&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please check and share the values of the following parameters "tez.am.launch.cmd-opts" and "hive.tez.java.opts" they should not be conflicting. Specially the GC options.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Try this:&lt;/STRONG&gt; You should get rid of the "-XX:+UseParallelGC" option (remove this option)  from the&lt;EM&gt;  "tez.am.launch.cmd-opts"&lt;/EM&gt; and &lt;EM&gt;"hive.tez.java.opts"&lt;/EM&gt; properties at the very first place and then restart it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is because &lt;STRONG&gt;"-XX:+UseG1GC and -XX:+UseParallelGC" Should never be used together."&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 12:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220490#M66703</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-16T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid/conflicting GC options found error in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220491#M66704</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It really helped! I've set &lt;STRONG&gt;-XX:+UseG1GC &lt;/STRONG&gt;for hive.tez.java.opts and it works! &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 15:12:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220491#M66704</guid>
      <dc:creator>a_gulshani</dc:creator>
      <dc:date>2017-08-16T15:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid/conflicting GC options found error in Hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220492#M66705</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/31160/agulshani.html" nodeid="31160"&gt;@Gulshan Agivetova&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good to know that setting the &lt;STRONG&gt;-XX:+UseG1GC &lt;/STRONG&gt;for hive.tez.java.opts worked.&lt;/P&gt;&lt;P&gt;- It will be really great if you can mark this thread as "Accepted" (Answered) so that it will be very useful for HCC users to quickly browse for the solutions.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/31160/agulshani.html" nodeid="31160"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 15:23:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Invalid-conflicting-GC-options-found-error-in-Hive/m-p/220492#M66705</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-08-16T15:23:34Z</dc:date>
    </item>
  </channel>
</rss>

