<?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: Issue with AMI with Parcel Preloaded in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38655#M771</link>
    <description>&lt;P&gt;Thanks for your help!&amp;nbsp;It finally works now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out that "normalizeInstance" has to set to true. It's a bit confusing though as&amp;nbsp;in the comment it says the following and&amp;nbsp;I thought most of them are already done in the preloaded AMI.&lt;/P&gt;&lt;P&gt;# Normalization includes:&lt;BR /&gt;# downloading and installing packages&lt;BR /&gt;# minimizing swappiness&lt;BR /&gt;# increasing the maximun number of open files&lt;BR /&gt;# mounting ephemeral disks&lt;BR /&gt;# resizing the root partition.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will modify the packer scripts to download additional parcels we need. It will be great if you add support semi-preloeaded AMI so small parcels can be downloaded during provisioning.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2016 18:27:24 GMT</pubDate>
    <dc:creator>WZ</dc:creator>
    <dc:date>2016-03-14T18:27:24Z</dc:date>
    <item>
      <title>Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36506#M760</link>
      <description>&lt;P&gt;I built an AMI using the preloaded-ami-builder script:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/cloudera/director-scripts/tree/master/preloaded-ami-builder" target="_blank"&gt;https://github.com/cloudera/director-scripts/tree/master/preloaded-ami-builder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and my director config have the following specifying the parcel version I put in the AMI.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;products {&lt;BR /&gt;CDH: 5.5.1&lt;BR /&gt;}&lt;BR /&gt;parcelRepositories: ["&lt;A href="https://archive.cloudera.com/cdh5/parcels/5.5.1/&amp;quot;]" target="_blank"&gt;https://archive.cloudera.com/cdh5/parcels/5.5.1/"]&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I keep getting this &lt;STRONG&gt;&lt;EM&gt;"CDH=5.5.1-1.cdh5.5.1.p0.11 not found in list of all parcels"&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;exception when bootstrap-remote the config.&amp;nbsp;Everything works if I remove the parcel_provisioner.sh in the packer though&amp;nbsp;it takes time downloading the parcel. Please help me. I've spent days searching for solutions but no luck yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question not related to this issue but I see the builder has steps installing&lt;SPAN&gt; cloudera-manager-server and&amp;nbsp;&lt;SPAN&gt; cloudera-manager-&lt;SPAN&gt;daemons, why I am still seeing the following in the director provisioning step?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Installing cloudera-manager-server package&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Installing cloudera-manager-daemons package&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I&amp;nbsp;suppose those should be skipped as well&amp;nbsp;but please help me understand this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2016-01-19 17:50:03] INFO [pipeline-thread-2] - c.c.l.pipeline.util.PipelineRunner: &amp;gt;&amp;gt; EnableParcels/3 [CreateClusterContext{environment=Environment{name='platform Environment', provider=InstanceProvider ...&lt;BR /&gt;[2016-01-19 17:50:04] ERROR [pipeline-thread-2] - c.c.l.pipeline.util.PipelineRunner: Attempt to execute job failed&lt;BR /&gt;com.cloudera.launchpad.pipeline.UnrecoverablePipelineError: java.lang.IllegalArgumentException: CDH=5.5.1-1.cdh5.5.1.p0.11 not found in list of all parcels.&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.cluster.EnableParcels.run(EnableParcels.java:77) ~[launchpad-bootstrap-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.cluster.EnableParcels.run(EnableParcels.java:36) ~[launchpad-bootstrap-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.job.Job3.runUnchecked(Job3.java:32) ~[launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.job.Job3$$FastClassBySpringCGLIB$$54178503.invoke(&amp;lt;generated&amp;gt;) ~[spring-core-4.1.5.RELEASE.jar!/:1.5.2]&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:97) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.PipelineJobProfiler$1.call(PipelineJobProfiler.java:55) ~[launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.codahale.metrics.Timer.time(Timer.java:101) ~[metrics-core-3.1.0.jar!/:3.1.0]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.PipelineJobProfiler.profileJobRun(PipelineJobProfiler.java:51) ~[launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) ~[na:na]&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65]&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65]&lt;BR /&gt;at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) ~[spring-aop-4.1.5.RELEASE.jar!/:4.1.5.RELEASE]&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.cluster.EnableParcels$$EnhancerBySpringCGLIB$$7a951cb.runUnchecked(&amp;lt;generated&amp;gt;) ~[spring-core-4.1.5.RELEASE.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.util.PipelineRunner$JobCallable.call(PipelineRunner.java:165) [launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.util.PipelineRunner$JobCallable.call(PipelineRunner.java:136) [launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.github.rholder.retry.AttemptTimeLimiters$NoAttemptTimeLimit.call(AttemptTimeLimiters.java:78) [guava-retrying-1.0.6.jar!/:na]&lt;BR /&gt;at com.github.rholder.retry.Retryer.call(Retryer.java:110) [guava-retrying-1.0.6.jar!/:na]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.util.PipelineRunner.attemptMultipleJobExecutionsWithRetries(PipelineRunner.java:98) [launchpad-pipeline-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.pipeline.DatabasePipelineRunner.run(DatabasePipelineRunner.java:120) [launchpad-pipeline-database-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.ExceptionHandlingRunnable.run(ExceptionHandlingRunnable.java:57) [launchpad-common-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_65]&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_65]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]&lt;BR /&gt;Caused by: java.lang.IllegalArgumentException: CDH=5.5.1-1.cdh5.5.1.p0.11 not found in list of all parcels.&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.cluster.util.BootstrapClusterUtils.getParcelProducts(BootstrapClusterUtils.java:319) ~[launchpad-bootstrap-1.5.2.jar!/:1.5.2]&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.cluster.EnableParcels.run(EnableParcels.java:57) ~[launchpad-bootstrap-1.5.2.jar!/:1.5.2]&lt;BR /&gt;... 33 common frames omitted&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:58:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36506#M760</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2022-09-16T09:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36532#M761</link>
      <description>&lt;P&gt;What versions of Cloudera Director and Cloudera Manager are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to take a look at this comment for possible info on problems with version incompatibilities:&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Cloudera-Director-Cloud-based/Cloudera-Director-bootstrap-failing-on-Installing-cloudera/m-p/35949#M480" target="_self"&gt;http://community.cloudera.com/t5/Cloudera-Director-Cloud-based/Cloudera-Director-bootstrap-failing-on-Installing-cloudera/m-p/35949#M480&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 19:49:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36532#M761</guid>
      <dc:creator>jadair</dc:creator>
      <dc:date>2016-01-22T19:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36533#M762</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;I'm using the latest Cloudera Director and Manager 2.0.0 and 5.5.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the following settings in the config which looks correct for me but it never worked with the preloaded AMI&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;repository: "&lt;A href="http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.5.1/&amp;quot;" target="_blank"&gt;http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.5.1/"&lt;/A&gt;&lt;BR /&gt;repositoryKeyUrl: "&lt;A href="http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera&amp;quot;" target="_blank"&gt;http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;products {&lt;BR /&gt;CDH: 5.5.1&lt;BR /&gt;}&lt;BR /&gt;parcelRepositories: ["&lt;A href="https://archive.cloudera.com/cdh5/parcels/5.5.1/&amp;quot;]" target="_blank"&gt;https://archive.cloudera.com/cdh5/parcels/5.5.1/"]&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 20:14:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/36533#M762</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-01-22T20:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38440#M763</link>
      <description>&lt;P&gt;Still a open issue. Any suggestion would be really appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 03:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38440#M763</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-03-08T03:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38465#M764</link>
      <description>&lt;P&gt;Hi WZ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that the parcel version on the AMI is different than what is being provided in the setup configuration. To help diagnose this further,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) When you set up the AMI with the packer script, did you specify a specific version of CDH to use, or did it use the default? Could you provide the specific repository url that was used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) If you create an instance with the AMI, and ssh into it, what version of CDH parcel does it show? The paths to check would be /opt/cloudera/parcel-cache or /opt/cloudera/parcels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know what you find, we can take it from there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayita&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 18:59:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38465#M764</guid>
      <dc:creator>Jayita</dc:creator>
      <dc:date>2016-03-08T18:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38466#M765</link>
      <description>&lt;P&gt;thanks a lot for your respons!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. we are using the following parcel url&lt;/P&gt;&lt;P&gt;"parcel_url": "&lt;A href="https://archive.cloudera.com/cdh5/parcels/5.5.1/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel&amp;quot;," target="_blank"&gt;https://archive.cloudera.com/cdh5/parcels/5.5.1/CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel",&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;b. just lauched the instance using the baked AMI, and here are those dir showing. (note that parcels are empty because&amp;nbsp;PREEXTRACT_PARCEL flag are set to false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ec2-user@ip-10-0-1-254 ~]$ ll /opt/cloudera/parcel-cache/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;total 1453120&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-rw-r--r--. 2 root root 1487987897 Mar&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;6 04:17 &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ec2-user@ip-10-0-1-254 ~]$ ll /opt/cloudera/parcel-repo/&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;total 1453124&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-rw-r--r--. 2 root root 1487987897 Mar&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;6 04:17 &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-rw-r--r--. 1 root root &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;41 Mar&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;6 04:17 CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel.sha&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;[ec2-user@ip-10-0-1-254 ~]$ ll /opt/cloudera/parcels&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;total 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 19:42:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38466#M765</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-03-08T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38541#M766</link>
      <description>&lt;P&gt;Thanks for providing the information. I am trying to reproduce this and will get back to you.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 18:16:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38541#M766</guid>
      <dc:creator>Jayita</dc:creator>
      <dc:date>2016-03-10T18:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38593#M767</link>
      <description>&lt;P&gt;&amp;nbsp;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went through this setup, but was not able to reproduce the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There may have been a few things different in what each&amp;nbsp;of us tried. To diagnose further,&lt;/P&gt;&lt;P&gt;- did you run packer directly, or using build-ami.sh?&lt;/P&gt;&lt;P&gt;- did you override the cm url as well, or just cdh?&lt;/P&gt;&lt;P&gt;- was your ami redhat6 or&amp;nbsp;some other variant / operating system? (the parcel installed is redhat6, but if it were redhat7 it would need a different one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case I ran with build-ami.sh, using redhat6, and only overrode the cdh url, so I ended up with cm5.6 (it picks up the latest cm by default). My command was as follows, if you would like to try it:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PACKER_VARS="-var vpc_id=vpc-123456 -var subnet_id=subnet-123456 -var security_group_id=sg-123456 -var root_device_name=/dev/sda1" &amp;nbsp;sh build-ami.sh us-west-1 ami-6283a827 "my_ami_name" &lt;A href="http://archive-primary.cloudera.com/cdh5/parcels/5.5.1/" target="_blank"&gt;http://archive-primary.cloudera.com/cdh5/parcels/5.5.1/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My directory listing of&amp;nbsp;&lt;/SPAN&gt;/opt/cloudera/parcel-cache and&amp;nbsp;/opt/cloudera/parcel-repo matches yours, so we know things worked until there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple other places to check on your system:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Could you pull up the Cloudera Manager log to see if there are any errors around finding the parcel? You can find it on the instance at&amp;nbsp;/var/log/cloudera-scm-server/cloudera-scm-server.log&lt;UL&gt;&lt;LI&gt;In mine, after it starts Jetty server, I see this line "Discovered parcel on CM server: CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel". Does your log have any errors around finding the parcel?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In the CM UI, top nav, there is an icon for parcels.&lt;UL&gt;&lt;LI&gt;Under this, do you see any errors?&lt;/LI&gt;&lt;LI&gt;On this page if you click on Edit Settings,&amp;nbsp;does the local parcel repository path show&amp;nbsp;/opt/cloudera/parcel-repo and remote path show&amp;nbsp;&lt;A href="http://archive.cloudera.com/cdh5/parcels/5.5.1/" target="_blank"&gt;http://archive.cloudera.com/cdh5/parcels/5.5.1/&lt;/A&gt; ?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;If you check the CM API for parcels, what does it return?&amp;nbsp;http://&amp;lt;cm&amp;gt;:7180/api/v11/clusters/&amp;lt;clustername&amp;gt;/parcels&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayita&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 21:48:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38593#M767</guid>
      <dc:creator>Jayita</dc:creator>
      <dc:date>2016-03-11T21:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38628#M768</link>
      <description>&lt;P&gt;Thank you very much for the the response Jayita!&lt;/P&gt;&lt;P&gt;I will definitely give it another try in the morning. But we have a couple of questions regarding the cluster config for director:&lt;/P&gt;&lt;P&gt;0. is there any particular settings have to be set in order to work with the pre-loeaded ami?&lt;/P&gt;&lt;P&gt;1. in the instance settings, do we have to turn&amp;nbsp;&lt;SPAN&gt;normalizeInstance off?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;normalizeInstance: false&lt;/P&gt;&lt;P&gt;2. what if we need to setup additional parcels, do we need to do it in the pre-loaded scripts as well?&lt;/P&gt;&lt;P&gt;products {&lt;BR /&gt;CDH: 5.5.1&lt;BR /&gt;CLABS_PHOENIX: 4.5.2&lt;BR /&gt;KAFKA: 2.0.0&lt;BR /&gt;}&lt;BR /&gt;parcelRepositories: ["&lt;A href="http://archive.cloudera.com/cdh5/parcels/5.5.1/&amp;quot;," target="_blank"&gt;http://archive.cloudera.com/cdh5/parcels/5.5.1/",&lt;/A&gt;&lt;BR /&gt;"&lt;A href="http://archive.cloudera.com/cloudera-labs/phoenix/parcels/1.2/&amp;quot;," target="_blank"&gt;http://archive.cloudera.com/cloudera-labs/phoenix/parcels/1.2/",&lt;/A&gt;&lt;BR /&gt;"&lt;A href="http://archive-primary.cloudera.com/kafka/parcels/2.0.0/&amp;quot;]" target="_blank"&gt;http://archive-primary.cloudera.com/kafka/parcels/2.0.0/"]&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WZ&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 03:21:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38628#M768</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-03-14T03:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38633#M769</link>
      <description>&lt;P&gt;&lt;FONT color="#993300"&gt;Still seeing "&lt;SPAN class="s1"&gt;java.lang.IllegalArgumentException: CDH=5.5.1-1.cdh5.5.1.p0.11 not found in list of all parcels. ..."&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;Replied inline and thank you again for diagnose this with me!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple other places to check on your system:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;Could you pull up the Cloudera Manager log to see if there are any errors around finding the parcel?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;In mine, after it starts Jetty server, I see this line "Discovered parcel on CM server: CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel". Does your log have any errors around finding the parcel?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;FONT color="#993300"&gt;I see the following in the log but there's no "&lt;SPAN&gt;Discovered parcel on CM server..." as yours:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2016-03-14 03:08:28,698 INFO ParcelUpdateService:com.cloudera.parcel.components.LocalParcelManagerImpl: Found files CDH-5.5.1-1.cdh5.5.1.p0.11-el6.parcel under /opt/cloudera/parcel-repo&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;and I found the following&amp;nbsp;error in the log. Are those related?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;2016-03-14 03:08:27,311 WARN MainThread:org.springframework.web.client.RestTemplate: GET request for "&lt;A href="http://169.254.169.254/latest/meta-data/public-hostname&amp;quot;" target="_blank"&gt;http://169.254.169.254/latest/meta-data/public-hostname"&lt;/A&gt; resulted in 404 (Not Found); invoking error handler&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;2016-03-14 03:08:27,312 ERROR MainThread:com.cloudera.server.web.cmf.cloud.EC2MetadataFetcher: Request to EC2 metadata failed: 404 Not Found&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" color="#993300"&gt;&lt;SPAN class="s1"&gt;...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;2016-03-14 03:07:08,536 ERROR main:org.hibernate.engine.jdbc.spi.SqlExceptionHelper: ERROR: relation "cm_version" does not exist&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Position: 21&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;2016-03-14 03:07:08,538 WARN main:com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean: Failed to determine prior version, assuming no upgrade: org.hibernate.exception.SQLGrammarException: could not extract ResultSet&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the CM UI, top nav, there is an icon for parcels.&lt;UL&gt;&lt;LI&gt;Under this, do you see any errors?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;I don't see any errors but only:&lt;/FONT&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;SPAN class="product"&gt;CDH 5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;SPAN class="version"&gt;5.5.1-1.cdh5.5.1.p0.11&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="downloaded"&gt;Downloaded&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL&gt;&lt;LI&gt;On this page if you click on Edit Settings,&amp;nbsp;does the local parcel repository path show&amp;nbsp;/opt/cloudera/parcel-repo and remote path show&amp;nbsp;&lt;A href="http://archive.cloudera.com/cdh5/parcels/5.5.1/" target="_blank" rel="nofollow"&gt;http://archive.cloudera.com/cdh5/parcels/5.5.1/&lt;/A&gt; ?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;Yes, those two settings are correct.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you check the CM API for parcels, what does it return?&amp;nbsp;http://&amp;lt;cm&amp;gt;:7180/api/v11/clusters/&amp;lt;clustername&amp;gt;/parcels&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;Here are the response from &lt;A href="http://10.0.1.242:7180/api/v11/clusters/platform/parcels" target="_blank"&gt;http://10.0.1.242:7180/api/v11/clusters/platform/parcels&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;items&lt;/SPAN&gt;:&lt;/FONT&gt;&lt;DIV class="collapser"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="courier new,courier"&gt;[&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;DIV class="collapser"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;product&lt;/SPAN&gt;: &lt;SPAN class="type-string"&gt;"CDH"&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;version&lt;/SPAN&gt;: &lt;SPAN class="type-string"&gt;"5.5.1-1.cdh5.5.1.p0.11"&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;stage&lt;/SPAN&gt;: &lt;SPAN class="type-string"&gt;"DOWNLOADED"&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;clusterRef&lt;/SPAN&gt;:&lt;/FONT&gt;&lt;DIV class="collapser"&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class="hoverable"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="property"&gt;clusterName&lt;/SPAN&gt;: &lt;SPAN class="type-string"&gt;"platform"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;FONT face="courier new,courier"&gt;]&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 07:32:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38633#M769</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-03-14T07:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38646#M770</link>
      <description>&lt;P&gt;This is strange -- truthfully, it looks like all your settings are copacetic, yet Director is failing to detect them here. A few more questions:&lt;BR /&gt;&lt;BR /&gt;1. Could you try &lt;A href="http://10.0.1.242:7180/api/v7/clusters/platform/parcels" target="_blank"&gt;http://10.0.1.242:7180/api/v7/clusters/platform/parcels&lt;/A&gt; (the URL difference is v7 vs. v11).&lt;BR /&gt;2. So, the parcel that's being downloaded now is specifically for RHEL/CentOS 6. What base AMI are you currently using to build preloaded AMIs for CM/your cluster? Is it possible there's a mismatch, i.e. using RHEL/CentOS 7? If this is so, you may have to modify build-ami.sh to look for the parcel ending in el7 instead of el6.&lt;BR /&gt;&lt;BR /&gt;As for multiple parcels -- this is doable, but the scripts as written do not support this, unfortunately. At the moment, you can either do this manually, or you can modify the packer scripts to download these other parcels. The latter shouldn't be too bad, but would require some packer familiarity.&lt;BR /&gt;&lt;BR /&gt;I'm going to file a ticket internally for this feature, however, as it seems like a useful one.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 15:17:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38646#M770</guid>
      <dc:creator>Mike Wilson</dc:creator>
      <dc:date>2016-03-14T15:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with AMI with Parcel Preloaded</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38655#M771</link>
      <description>&lt;P&gt;Thanks for your help!&amp;nbsp;It finally works now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Turns out that "normalizeInstance" has to set to true. It's a bit confusing though as&amp;nbsp;in the comment it says the following and&amp;nbsp;I thought most of them are already done in the preloaded AMI.&lt;/P&gt;&lt;P&gt;# Normalization includes:&lt;BR /&gt;# downloading and installing packages&lt;BR /&gt;# minimizing swappiness&lt;BR /&gt;# increasing the maximun number of open files&lt;BR /&gt;# mounting ephemeral disks&lt;BR /&gt;# resizing the root partition.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will modify the packer scripts to download additional parcels we need. It will be great if you add support semi-preloeaded AMI so small parcels can be downloaded during provisioning.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 18:27:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-with-AMI-with-Parcel-Preloaded/m-p/38655#M771</guid>
      <dc:creator>WZ</dc:creator>
      <dc:date>2016-03-14T18:27:24Z</dc:date>
    </item>
  </channel>
</rss>

