FAQ
Hello,

It seems our installation of cloudera manager is not able to download new
parcels successfully.

*Hadoop : cdh4.2.0
Cloudera Manager: 4.5.0 (Free edition)
*
Initially, the server log shows errors like the following:

2013-09-09 19:17:20,059 ERROR
[SyncRemoteParcelRepository-0:parcel.ParcelDownloader@409] Failed to
download manifest at
'http://beta.cloudera.com/impala/parcels/latest/manifest.json'. Status code
: 404

I think above URL is obsolete. So, from Administration -> Properties ->
Parcels -> Remote Parcel Repository URLs, I changed the Impala repo URL
from http://beta.cloudera.com/impala/parcels/latest/ to
http://archive.cloudera.com/impala/parcels/latest/.

Also, since we wanted to make LZO related packages available, we also added
http://archive.cloudera.com/gplextras/parcels/latest/ to the list of remote
repositories.

After that, the server started throwing the following error:

2013-09-25 14:25:31,447 INFO
[631889104@scm-web-171:common.JFrameException@167] (332 skipped) Exception
report generated accessing http://xxxxx:7180/cmf/parcel/topLevelCount
java.lang.IllegalStateException
at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
at
com.cloudera.parcel.ClusterParcelStatus$Info.calculateState(ClusterParcelStatus.java:163)
at
com.cloudera.parcel.ClusterParcelStatus$Info.<init>(ClusterParcelStatus.java:90)
at
com.cloudera.parcel.ClusterParcelStatus.getInfo(ClusterParcelStatus.java:59)
at
com.cloudera.parcel.ParcelActionableCount.computeCount(ParcelActionableCount.java:66)
at
com.cloudera.parcel.ParcelActionableCount.add(ParcelActionableCount.java:52)
at com.cloudera.parcel.ParcelManager.getActionCount(ParcelManager.java:546)
at com.cloudera.parcel.ParcelManager.access$100(ParcelManager.java:57)
at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:102)
at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:96)
at
com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:173)
at
com.cloudera.parcel.ParcelManager.getCachedActionCount(ParcelManager.java:535)
at
com.cloudera.server.web.cmf.parcel.ParcelInventoryController.getActiveTopLevelJSON(ParcelInventoryController.java:43)
at
com.cloudera.server.web.cmf.parcel.ParcelInventoryController$FastClassByCGLIB$5ceb1b7f.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
at
com.cloudera.server.web.cmf.parcel.ParcelInventoryController$EnhancerByCGLIB$80ee8997.getActiveTopLevelJSON(<generated>)
at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
...
...


We have already tried restarting the scm server service, but the error
persists.

The local parcel repository path is defined as "/opt/cloudera/parcel-repo",
and I can see the following (on the node where the server is running)

$ cd /opt/cloudera/parcel-repo
$ ls -l
total 1638432
-rw-r----- 1 cloudera-scm cloudera-scm 696617811 Mar 6 2013
CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel
-rw-r----- 1 cloudera-scm cloudera-scm 41 Mar 6 2013
CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel.sha
-rw-r----- 1 cloudera-scm cloudera-scm 776197444 Sep 25 14:06
CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel
-rw-r----- 1 cloudera-scm cloudera-scm 41 Sep 25 14:06
CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel.sha
-rw-r----- 1 cloudera-scm cloudera-scm 204910790 Apr 16 11:25
IMPALA-0.7-1.p0.306-el6.parcel
-rw-r----- 1 cloudera-scm cloudera-scm 41 Apr 16 11:25
IMPALA-0.7-1.p0.306-el6.parcel.sha


I am not sure what is causing these errors. Any help is greatly appreciated.


Thanks,
Gaurav

To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Search Discussions

  • Herman Chen at Sep 25, 2013 at 8:15 pm
    Hi Gaurav

    It looks like you ran into a bug that has been addressed in 4.7. You
    should be able to workaround it by restarting all the agents, but we
    strongly recommend you upgrade to the latest version.

    Herman
    On Wed, Sep 25, 2013 at 11:34 AM, Gaurav Pandit wrote:
    Hello,

    It seems our installation of cloudera manager is not able to download new
    parcels successfully.

    Hadoop : cdh4.2.0
    Cloudera Manager: 4.5.0 (Free edition)

    Initially, the server log shows errors like the following:
    2013-09-09 19:17:20,059 ERROR
    [SyncRemoteParcelRepository-0:parcel.ParcelDownloader@409] Failed to
    download manifest at
    'http://beta.cloudera.com/impala/parcels/latest/manifest.json'. Status code
    : 404

    I think above URL is obsolete. So, from Administration -> Properties ->
    Parcels -> Remote Parcel Repository URLs, I changed the Impala repo URL from
    http://beta.cloudera.com/impala/parcels/latest/ to
    http://archive.cloudera.com/impala/parcels/latest/.

    Also, since we wanted to make LZO related packages available, we also added
    http://archive.cloudera.com/gplextras/parcels/latest/ to the list of remote
    repositories.

    After that, the server started throwing the following error:
    2013-09-25 14:25:31,447 INFO
    [631889104@scm-web-171:common.JFrameException@167] (332 skipped) Exception
    report generated accessing http://xxxxx:7180/cmf/parcel/topLevelCount
    java.lang.IllegalStateException
    at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at
    com.cloudera.parcel.ClusterParcelStatus$Info.calculateState(ClusterParcelStatus.java:163)
    at
    com.cloudera.parcel.ClusterParcelStatus$Info.<init>(ClusterParcelStatus.java:90)
    at
    com.cloudera.parcel.ClusterParcelStatus.getInfo(ClusterParcelStatus.java:59)
    at
    com.cloudera.parcel.ParcelActionableCount.computeCount(ParcelActionableCount.java:66)
    at
    com.cloudera.parcel.ParcelActionableCount.add(ParcelActionableCount.java:52)
    at
    com.cloudera.parcel.ParcelManager.getActionCount(ParcelManager.java:546)
    at com.cloudera.parcel.ParcelManager.access$100(ParcelManager.java:57)
    at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:102)
    at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:96)
    at
    com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:173)
    at
    com.cloudera.parcel.ParcelManager.getCachedActionCount(ParcelManager.java:535)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController.getActiveTopLevelJSON(ParcelInventoryController.java:43)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController$FastClassByCGLIB$5ceb1b7f.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
    at
    org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at
    org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at
    org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController$EnhancerByCGLIB$80ee8997.getActiveTopLevelJSON(<generated>)
    at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
    at
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
    at
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
    at
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    at
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
    at
    org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    ...
    ...


    We have already tried restarting the scm server service, but the error
    persists.

    The local parcel repository path is defined as "/opt/cloudera/parcel-repo",
    and I can see the following (on the node where the server is running)
    $ cd /opt/cloudera/parcel-repo
    $ ls -l
    total 1638432
    -rw-r----- 1 cloudera-scm cloudera-scm 696617811 Mar 6 2013
    CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Mar 6 2013
    CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel.sha
    -rw-r----- 1 cloudera-scm cloudera-scm 776197444 Sep 25 14:06
    CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Sep 25 14:06
    CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel.sha
    -rw-r----- 1 cloudera-scm cloudera-scm 204910790 Apr 16 11:25
    IMPALA-0.7-1.p0.306-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Apr 16 11:25
    IMPALA-0.7-1.p0.306-el6.parcel.sha


    I am not sure what is causing these errors. Any help is greatly appreciated.


    Thanks,
    Gaurav

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.
  • Gaurav Pandit at Sep 25, 2013 at 8:53 pm
    Thank you Herman, that did it!

    Yes, we are planning to an upgrade soon.

    Cheers,
    Gaurav
    On Wednesday, September 25, 2013 4:15:30 PM UTC-4, Herman Chen wrote:

    Hi Gaurav

    It looks like you ran into a bug that has been addressed in 4.7. You
    should be able to workaround it by restarting all the agents, but we
    strongly recommend you upgrade to the latest version.

    Herman
    On Wed, Sep 25, 2013 at 11:34 AM, Gaurav Pandit wrote:
    Hello,

    It seems our installation of cloudera manager is not able to download new
    parcels successfully.

    Hadoop : cdh4.2.0
    Cloudera Manager: 4.5.0 (Free edition)

    Initially, the server log shows errors like the following:
    2013-09-09 19:17:20,059 ERROR
    [SyncRemoteParcelRepository-0:parcel.ParcelDownloader@409] Failed to
    download manifest at
    'http://beta.cloudera.com/impala/parcels/latest/manifest.json'. Status
    code
    : 404

    I think above URL is obsolete. So, from Administration -> Properties ->
    Parcels -> Remote Parcel Repository URLs, I changed the Impala repo URL from
    http://beta.cloudera.com/impala/parcels/latest/ to
    http://archive.cloudera.com/impala/parcels/latest/.

    Also, since we wanted to make LZO related packages available, we also added
    http://archive.cloudera.com/gplextras/parcels/latest/ to the list of remote
    repositories.

    After that, the server started throwing the following error:
    2013-09-25 14:25:31,447 INFO
    [631889104@scm-web-171:common.JFrameException@167] (332 skipped)
    Exception
    report generated accessing http://xxxxx:7180/cmf/parcel/topLevelCount
    java.lang.IllegalStateException
    at
    com.google.common.base.Preconditions.checkState(Preconditions.java:133)
    at
    com.cloudera.parcel.ClusterParcelStatus$Info.calculateState(ClusterParcelStatus.java:163)
    at
    com.cloudera.parcel.ClusterParcelStatus$Info.<init>(ClusterParcelStatus.java:90)
    at
    com.cloudera.parcel.ClusterParcelStatus.getInfo(ClusterParcelStatus.java:59)
    at
    com.cloudera.parcel.ParcelActionableCount.computeCount(ParcelActionableCount.java:66)
    at
    com.cloudera.parcel.ParcelActionableCount.add(ParcelActionableCount.java:52)
    at
    com.cloudera.parcel.ParcelManager.getActionCount(ParcelManager.java:546)
    at com.cloudera.parcel.ParcelManager.access$100(ParcelManager.java:57)
    at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:102)
    at com.cloudera.parcel.ParcelManager$1.get(ParcelManager.java:96)
    at
    com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:173)
    at
    com.cloudera.parcel.ParcelManager.getCachedActionCount(ParcelManager.java:535)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController.getActiveTopLevelJSON(ParcelInventoryController.java:43)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController$FastClassByCGLIB$5ceb1b7f.invoke(<generated>)
    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
    at
    org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at
    org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at
    org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
    at
    com.cloudera.server.web.cmf.parcel.ParcelInventoryController$EnhancerByCGLIB$80ee8997.getActiveTopLevelJSON(<generated>)
    at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
    at
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
    at
    org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
    at
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
    at
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
    at
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
    at
    org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    ...
    ...


    We have already tried restarting the scm server service, but the error
    persists.

    The local parcel repository path is defined as
    "/opt/cloudera/parcel-repo",
    and I can see the following (on the node where the server is running)
    $ cd /opt/cloudera/parcel-repo
    $ ls -l
    total 1638432
    -rw-r----- 1 cloudera-scm cloudera-scm 696617811 Mar 6 2013
    CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Mar 6 2013
    CDH-4.2.0-1.cdh4.2.0.p0.10-el6.parcel.sha
    -rw-r----- 1 cloudera-scm cloudera-scm 776197444 Sep 25 14:06
    CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Sep 25 14:06
    CDH-4.4.0-1.cdh4.4.0.p0.39-el6.parcel.sha
    -rw-r----- 1 cloudera-scm cloudera-scm 204910790 Apr 16 11:25
    IMPALA-0.7-1.p0.306-el6.parcel
    -rw-r----- 1 cloudera-scm cloudera-scm 41 Apr 16 11:25
    IMPALA-0.7-1.p0.306-el6.parcel.sha


    I am not sure what is causing these errors. Any help is greatly
    appreciated.

    Thanks,
    Gaurav

    To unsubscribe from this group and stop receiving emails from it, send an
    email to scm-users+...@cloudera.org <javascript:>.
    To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedSep 25, '13 at 6:34p
activeSep 25, '13 at 8:53p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Gaurav Pandit: 2 posts Herman Chen: 1 post

People

Translate

site design / logo © 2022 Grokbase