<?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 java.lang.RuntimeException: java.io.IOException: invalid constant type: 18 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/java-lang-RuntimeException-java-io-IOException-invalid/m-p/131205#M23107</link>
    <description>&lt;P&gt;While running bigbench Benchmark on HDP 2.3.0.0 using ambari, the following error occurred in data generation stage&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.5.el7.x86_64/jre-abrt/bin/java&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/tmp/pdgfLog/1/pdgf.log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Clothing &amp;amp; Accessories_Tops &amp;amp; Tees'
DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Toys &amp;amp; Games_Electronics for Kids'
DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Toys &amp;amp; Games_Vehicles &amp;amp; Remote-Control'
DEBUG main pdgf.core.dataGenerator.scheduler.DefaultPartitioner - Using default Pre-Partitioner from class pdgf.core.dataGenerator.scheduler.TemplatePartitioner
11:  &amp;lt;generation&amp;gt;
84:   &amp;lt;schema name="default"&amp;gt;
85:    &amp;lt;tables&amp;gt;
554:     &amp;lt;table name="product_reviews"&amp;gt;
555:      &amp;lt;scheduler name="DefaultScheduler"&amp;gt;
556:       &amp;lt;partitioner name="pdgf.core.dataGenerator.scheduler.TemplatePartitioner"&amp;gt;
DEBUG main pdgf.output.FileOutputSkeleton - def path != null: '"/user/root/benchmarks/bigbench/data_refresh/"+table.getName()+"/"' &amp;amp;&amp;amp; !Constants.OUTPUT_FILE_KEEP_OUTPUTDIR:false =&amp;gt; ignoring specified &amp;lt;ouputDir&amp;gt; nodes
DEBUG main pdgf.core.dataGenerator.scheduler.DefaultPartitioner - Using default Pre-Partitioner from class pdgf.core.dataGenerator.scheduler.TemplatePartitioner&lt;/P&gt;&lt;P&gt;11:  &amp;lt;generation&amp;gt;
59:   &amp;lt;scheduler name="DefaultScheduler"&amp;gt;
60:    &amp;lt;partitioner name="pdgf.core.dataGenerator.scheduler.TemplatePartitioner" staticTableOnAllNodes="false"&amp;gt;
DEBUG main pdgf.output.FileOutputSkeleton - def path != null: '"/user/root/benchmarks/bigbench/data_refresh/"+table.getName()+"/"' &amp;amp;&amp;amp; !Constants.OUTPUT_FILE_KEEP_OUTPUTDIR:false =&amp;gt; ignoring specified &amp;lt;ouputDir&amp;gt; nodes
DEBUG main pdgf.core.dataGenerator.DataGenerator - MemoryAllocatorInterface: add Element: &amp;lt;schema name="bigbench"&amp;gt;&amp;lt;table name="store"&amp;gt;&amp;lt;field name="s_rec_start_date"&amp;gt;&amp;lt;gen name="DateTimeGenerator"&amp;gt;
WARN main pdgf.core.dataGenerator.DataGenerator - A '&lt;STRONG&gt;pdgf.core.exceptions.ConfigurationException Exception occurred during initialization.
Message:   The template contains errors: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18&lt;/STRONG&gt;
Copy this class in an IDE of your choice to ease debugging:
private class TemplateTester extends pdgf.generator.template.NextValueTemplate {
public void getValue(pdgf.plugin.AbstractPDGFRandom rng,pdgf.core.dataGenerator.beans.FieldValueDTO fvdto,      pdgf.core.dataGenerator.beans.GenerationContext gc) throws Exception{
fvdto.setBothValues(generator(0, rng, gc, fvdto) + " " + generator(1, rng, gc, fvdto));
}
} &lt;/P&gt;&lt;P&gt;Location:&lt;/P&gt;&lt;P&gt;Location:
14:  &amp;lt;schema name="bigbench"&amp;gt;
2076:   &amp;lt;table name="store"&amp;gt;
2170:    &amp;lt;field name="s_manager" primary="false" size="40" type="VARCHAR"&amp;gt;
2171:     &amp;lt;gen_NullGenerator name="NullGenerator" probability="${NULL_CHANCE}"&amp;gt;
2172:      &amp;lt;gen_TemplateGenerator name="TemplateGenerator"&amp;gt;
DebugInformation:
:&lt;STRONG&gt;pdgf.core.exceptions.ConfigurationException&lt;/STRONG&gt;:  The template contains errors: &lt;STRONG&gt;java.lang.RuntimeException: java.io.IOException: invalid constant type: 18
&lt;/STRONG&gt;Copy this class in an IDE of your choice to ease debugging:
private class TemplateTester extends pdgf.generator.template.NextValueTemplate {
public void getValue(pdgf.plugin.AbstractPDGFRandom rng,pdgf.core.dataGenerator.beans.FieldValueDTO fvdto,      pdgf.core.dataGenerator.beans.GenerationContext gc) throws Exception{
fvdto.setBothValues(generator(0, rng, gc, fvdto) + " " + generator(1, rng, gc, fvdto));
}
}
        at pdgf.generator.template.NextValueTemplate.instance(NextValueTemplate.java:97)
        at pdgf.generator.TemplateGenerator.initialize(TemplateGenerator.java:102)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:514)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Project.initStage8_initialize_(Project.java:722)
        at pdgf.core.dataGenerator.DataGenerator.initRootProject(DataGenerator.java:171)
        at pdgf.core.dataGenerator.DataGenerator.initialize(DataGenerator.java:139)
        at pdgf.core.dataGenerator.DataGenerator.start(DataGenerator.java:214)
        at pdgf.actions.StartAction.execute(StartAction.java:112)
        at pdgf.actions.ActionPrioritySortObject.execute(ActionPrioritySortObject.java:50)
        at pdgf.Controller.parseCmdLineArgs(Controller.java:1248)
        at pdgf.Controller.start(Controller.java:1385)
        at pdgf.Controller.main(Controller.java:1226)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:09:50 GMT</pubDate>
    <dc:creator>vikasreddy_a</dc:creator>
    <dc:date>2022-09-16T10:09:50Z</dc:date>
    <item>
      <title>java.lang.RuntimeException: java.io.IOException: invalid constant type: 18</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/java-lang-RuntimeException-java-io-IOException-invalid/m-p/131205#M23107</link>
      <description>&lt;P&gt;While running bigbench Benchmark on HDP 2.3.0.0 using ambari, the following error occurred in data generation stage&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.5.el7.x86_64/jre-abrt/bin/java&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/tmp/pdgfLog/1/pdgf.log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Clothing &amp;amp; Accessories_Tops &amp;amp; Tees'
DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Toys &amp;amp; Games_Electronics for Kids'
DEBUG main pdgf.generator.BigBenchReviewGenerator - 'Toys &amp;amp; Games_Vehicles &amp;amp; Remote-Control'
DEBUG main pdgf.core.dataGenerator.scheduler.DefaultPartitioner - Using default Pre-Partitioner from class pdgf.core.dataGenerator.scheduler.TemplatePartitioner
11:  &amp;lt;generation&amp;gt;
84:   &amp;lt;schema name="default"&amp;gt;
85:    &amp;lt;tables&amp;gt;
554:     &amp;lt;table name="product_reviews"&amp;gt;
555:      &amp;lt;scheduler name="DefaultScheduler"&amp;gt;
556:       &amp;lt;partitioner name="pdgf.core.dataGenerator.scheduler.TemplatePartitioner"&amp;gt;
DEBUG main pdgf.output.FileOutputSkeleton - def path != null: '"/user/root/benchmarks/bigbench/data_refresh/"+table.getName()+"/"' &amp;amp;&amp;amp; !Constants.OUTPUT_FILE_KEEP_OUTPUTDIR:false =&amp;gt; ignoring specified &amp;lt;ouputDir&amp;gt; nodes
DEBUG main pdgf.core.dataGenerator.scheduler.DefaultPartitioner - Using default Pre-Partitioner from class pdgf.core.dataGenerator.scheduler.TemplatePartitioner&lt;/P&gt;&lt;P&gt;11:  &amp;lt;generation&amp;gt;
59:   &amp;lt;scheduler name="DefaultScheduler"&amp;gt;
60:    &amp;lt;partitioner name="pdgf.core.dataGenerator.scheduler.TemplatePartitioner" staticTableOnAllNodes="false"&amp;gt;
DEBUG main pdgf.output.FileOutputSkeleton - def path != null: '"/user/root/benchmarks/bigbench/data_refresh/"+table.getName()+"/"' &amp;amp;&amp;amp; !Constants.OUTPUT_FILE_KEEP_OUTPUTDIR:false =&amp;gt; ignoring specified &amp;lt;ouputDir&amp;gt; nodes
DEBUG main pdgf.core.dataGenerator.DataGenerator - MemoryAllocatorInterface: add Element: &amp;lt;schema name="bigbench"&amp;gt;&amp;lt;table name="store"&amp;gt;&amp;lt;field name="s_rec_start_date"&amp;gt;&amp;lt;gen name="DateTimeGenerator"&amp;gt;
WARN main pdgf.core.dataGenerator.DataGenerator - A '&lt;STRONG&gt;pdgf.core.exceptions.ConfigurationException Exception occurred during initialization.
Message:   The template contains errors: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18&lt;/STRONG&gt;
Copy this class in an IDE of your choice to ease debugging:
private class TemplateTester extends pdgf.generator.template.NextValueTemplate {
public void getValue(pdgf.plugin.AbstractPDGFRandom rng,pdgf.core.dataGenerator.beans.FieldValueDTO fvdto,      pdgf.core.dataGenerator.beans.GenerationContext gc) throws Exception{
fvdto.setBothValues(generator(0, rng, gc, fvdto) + " " + generator(1, rng, gc, fvdto));
}
} &lt;/P&gt;&lt;P&gt;Location:&lt;/P&gt;&lt;P&gt;Location:
14:  &amp;lt;schema name="bigbench"&amp;gt;
2076:   &amp;lt;table name="store"&amp;gt;
2170:    &amp;lt;field name="s_manager" primary="false" size="40" type="VARCHAR"&amp;gt;
2171:     &amp;lt;gen_NullGenerator name="NullGenerator" probability="${NULL_CHANCE}"&amp;gt;
2172:      &amp;lt;gen_TemplateGenerator name="TemplateGenerator"&amp;gt;
DebugInformation:
:&lt;STRONG&gt;pdgf.core.exceptions.ConfigurationException&lt;/STRONG&gt;:  The template contains errors: &lt;STRONG&gt;java.lang.RuntimeException: java.io.IOException: invalid constant type: 18
&lt;/STRONG&gt;Copy this class in an IDE of your choice to ease debugging:
private class TemplateTester extends pdgf.generator.template.NextValueTemplate {
public void getValue(pdgf.plugin.AbstractPDGFRandom rng,pdgf.core.dataGenerator.beans.FieldValueDTO fvdto,      pdgf.core.dataGenerator.beans.GenerationContext gc) throws Exception{
fvdto.setBothValues(generator(0, rng, gc, fvdto) + " " + generator(1, rng, gc, fvdto));
}
}
        at pdgf.generator.template.NextValueTemplate.instance(NextValueTemplate.java:97)
        at pdgf.generator.TemplateGenerator.initialize(TemplateGenerator.java:102)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:514)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Element.initStage8_initialize_(Element.java:528)
        at pdgf.core.dbSchema.Project.initStage8_initialize_(Project.java:722)
        at pdgf.core.dataGenerator.DataGenerator.initRootProject(DataGenerator.java:171)
        at pdgf.core.dataGenerator.DataGenerator.initialize(DataGenerator.java:139)
        at pdgf.core.dataGenerator.DataGenerator.start(DataGenerator.java:214)
        at pdgf.actions.StartAction.execute(StartAction.java:112)
        at pdgf.actions.ActionPrioritySortObject.execute(ActionPrioritySortObject.java:50)
        at pdgf.Controller.parseCmdLineArgs(Controller.java:1248)
        at pdgf.Controller.start(Controller.java:1385)
        at pdgf.Controller.main(Controller.java:1226)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:09:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/java-lang-RuntimeException-java-io-IOException-invalid/m-p/131205#M23107</guid>
      <dc:creator>vikasreddy_a</dc:creator>
      <dc:date>2022-09-16T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.RuntimeException: java.io.IOException: invalid constant type: 18</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/java-lang-RuntimeException-java-io-IOException-invalid/m-p/131206#M23108</link>
      <description>&lt;P&gt;Problem is with java 1.8 version. Bigbench is compatible with java 1.7. After running with java 1.7. Its working fine.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 18:15:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/java-lang-RuntimeException-java-io-IOException-invalid/m-p/131206#M23108</guid>
      <dc:creator>vikasreddy_a</dc:creator>
      <dc:date>2016-03-22T18:15:54Z</dc:date>
    </item>
  </channel>
</rss>

