<?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 Re: HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134913#M35048</link>
    <description>&lt;P&gt;Thanks Rajkumar for quick reply. &lt;/P&gt;&lt;P&gt;I have increased value for spark.executor.memory but not sure how to change value for spark.memory.storageFraction. Please suggest the location to find spark.memory.storageFraction.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yoges&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2016 14:12:50 GMT</pubDate>
    <dc:creator>yrajak</dc:creator>
    <dc:date>2016-07-19T14:12:50Z</dc:date>
    <item>
      <title>HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134911#M35046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have downloaded HDP 2.4 sandbox for evaluation of new memory management. Below are the environment details &lt;/P&gt;&lt;P&gt;- Windows Desktop (64 bit)  with 16 GB memory&lt;/P&gt;&lt;P&gt;- Oracle VM player&lt;/P&gt;&lt;P&gt;- HDP 2.4 (Sandbox) &lt;/P&gt;&lt;P&gt;I started the VM and checked the executors for Spark Thrift server (port 4040). The value for Storage Memory is 511.5 MB. That means total Java heap size is ~1GB. &lt;/P&gt;&lt;P&gt;Kindly let me know how can I increase the Java Heap size and setting for other dependent service/configuration. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:04:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134911#M35046</guid>
      <dc:creator>yrajak</dc:creator>
      <dc:date>2016-07-19T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134912#M35047</link>
      <description>&lt;P&gt;increase spark.executor.memory to the desired and then adjust spark.memory.storageFraction value which is default .5 (with this default value .9*.5*executor memory will be used as storage memory)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:08:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134912#M35047</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-07-19T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134913#M35048</link>
      <description>&lt;P&gt;Thanks Rajkumar for quick reply. &lt;/P&gt;&lt;P&gt;I have increased value for spark.executor.memory but not sure how to change value for spark.memory.storageFraction. Please suggest the location to find spark.memory.storageFraction.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yoges&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:12:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134913#M35048</guid>
      <dc:creator>yrajak</dc:creator>
      <dc:date>2016-07-19T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134914#M35049</link>
      <description>&lt;P&gt;
	Example from the Spark doc page (http://spark.apache.org/docs/latest/submitting-applications.html)&lt;/P&gt;
&lt;PRE&gt;# Run on a Spark standalone cluster in cluster deploy mode with supervise
./bin/spark-submit \  
--class org.apache.spark.examples.SparkPi \  
--master spark://207.184.161.138:7077 \  
--deploy-mode cluster \  
--supervise \  
--executor-memory 20G \  
--total-executor-cores 100 \  
/path/to/examples.jar \
1000&lt;/PRE&gt;&lt;P&gt;executor-memory is what you want to adapt&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:14:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134914#M35049</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2016-07-19T14:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4 Sandbox - How to check JVM size and how to allocate more memory for spark storage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134915#M35050</link>
      <description>&lt;P&gt;you can update this in conf/spark-env.sh file and also overwrite it with your job options like this&lt;/P&gt;&lt;P&gt;--conf spark.storage.memoryFraction=0.4&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:30:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Sandbox-How-to-check-JVM-size-and-how-to-allocate/m-p/134915#M35050</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-07-19T14:30:05Z</dc:date>
    </item>
  </channel>
</rss>

