TrueSight Capacity Optimization Moviri Cloudera extractor ETL failed

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Capacity Optimization


    COMPONENT:

    Capacity Optimization


    APPLIES TO:

    TrueSight Capacity Optimization 10.3, 10.5, 10.7, 11.0, 11.3.01



    PROBLEM:

    Moviri Cloudera ETL extractor version 2.6 failed with this error:

    FAILED BCO_ETL_FAIL108: Process cannot be started (cannot fork external java/os process) or process fails due to severe errors (no modules in classpath, ClassNotFoundException, not enough memory available on EE machine, etc.). Reason: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at ETL.extractor.ClouderaME.connect(ClouderaME.java:91)
        at com.neptuny.cpit.etl.Engine.start(Engine.java:129)
        at com.neptuny.cpit.etl.ETLrun.main(ETLrun.java:171)
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/RandomStringUtils
        at com.moviri.etlfactory.SQLiteInterface.generateSQLiteFilename(SQLiteInterface.java:36)
        at com.moviri.etlfactory.SQLiteInterface.<init>(SQLiteInterface.java:98)
        at ETL.util.ClouderaCoreExtractor.<init>(ClouderaCoreExtractor.java:282)
        ... 7 more
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.RandomStringUtils
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 10 more


    CAUSE:

    The ETL is not loading the JAR file commons-lang.2.4.jar, leading to a ClassNotFound exception.


    SOLUTION:

    To solve the issue:
    - logon via command line over the ETL engine machine running the Cloudera ETL task as
    TrueSight Capacity Optimization operating system user (i.e. cpit user)
    - copy the file $CPITBASE/etl/lib/commons-lang-2.4.jar to $CPITBASE/etl/libext/

    cp /opt/bmc/BCO/etl/lib/commons-lang-2.4.jar /opt/bmc/BCO/etl/libext
       - re-run the ETL

     


    Article Number:

    000164194


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles