IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

kettle/PDI Discussion :

Error on using Kettle on Debian 10


Sujet :

kettle/PDI

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Mai 2004
    Messages
    270
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2004
    Messages : 270
    Points : 163
    Points
    163
    Par défaut Error on using Kettle on Debian 10
    Hello,



    I'm having different issues while installing Pentaho Data Integration 8.3 on Jessie (Debian 10).

    What I did:

    • Downloaded the zip and put under /opt/pdi83
    • Installed Java and ensured it was there thanks to java -version
    • Set pentaho_java_home and java_home in /etc/profile and then run source /etc/profil
    • Run set-pentaho-env.sh
    • Set up the repository under ~/.kettle/repositories.xml
    • Test it is discovered thanks to pan.sh -listrep




    The repo is discovered but I've got lots of errors here.



    I put you here the substance:


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
     
    #######################################################################
    WARNING:  no libwebkitgtk-1.0 detected, some features will be unavailable
        Consider installing the package with apt-get or yum.
        e.g. 'sudo apt-get install libwebkitgtk-1.0-0'
    #######################################################################
    OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
    log4j:WARN Continuable parsing error 45 and column 76
    log4j:WARN Element type "rollingPolicy" must be declared.
    log4j:WARN Continuable parsing error 52 and column 14
    log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,layout?,filter*,appender-ref*)".
    log4j:WARN Please set a rolling policy for the RollingFileAppender named 'pdi-execution-appender'
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.pentaho.di.core.plugins.KettleURLClassLoader (file:/opt/pdi83/launcher/../lib/kettle-core-8.3.0.0-371.jar) to field java.net.URLClassLoader.ucp
    WARNING: Please consider reporting this to the maintainers of org.pentaho.di.core.plugins.KettleURLClassLoader
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    14:33:18,691 INFO  [KarafBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
    14:33:18,755 INFO  [KarafInstance]
    *******************************************************************************
    *** Karaf Instance Number: 1 at /opt/pdi83/./system/karaf/caches/pan/data-1 ***
    *** FastBin Provider Port:52901                                             ***
    *** Karaf Port:8802                                                         ***
    *** OSGI Service Port:9051                                                  ***
    *******************************************************************************
    ERROR: Error parsing system bundle export statement: org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0", org.osgi.framework.wiring;uses:="org.osgi.framework";version="1.1", org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1", org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1", org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0", org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", org.osgi.framework;version="1.7", org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",org.osgi.service.url;version="1.0", org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", org.apache.karaf.jaas.boot;version="3.0.3", org.apache.karaf.jaas.boot.principal;version="3.0.3", org.apache.karaf.management.boot;version="3.0.3", org.apache.karaf.version;version="3.0.3",  ######### VERY LONG LIST OF COMPONENTS #######,org.pentaho.di.ui.imp.rules,org.apache.kafka.common.metrics,org.jfree.chart.title,org.pentaho.di.trans.steps.databaselookup,org.pentaho.di.ui.repository.repositoryexplorer.messages,org.pentaho.di.core.fileinput,org.pentaho.di.trans.steps.sortedmerge.messages,org.pentaho.di.job.entries.job.messages (org.osgi.framework.BundleException: Exported package names cannot be zero length.)
    org.osgi.framework.BundleException: Exported package names cannot be zero length.
            at 
     
    ####### VERY LONG LIST OF THE SAME ##########
     
    ERROR: Bundle org.apache.karaf.package.command [46] Error starting mvn:org.apache.karaf.package/org.apache.karaf.package.command/3.0.3 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.karaf.package.command [46]: Unable to resolve 46.0: missing requirement [46.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.karaf.packages.core)(version>=3.0.0)(!(version>=4.0.0))) [caused by: Unable to resolve 45.0: missing requirement [45.0] osgi.wiring.package; (osgi.wiring.package=javax.management)])
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.karaf.package.command [46]: Unable to resolve 46.0: missing requirement [46.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.karaf.packages.core)(version>=3.0.0)(!(version>=4.0.0))) [caused by: Unable to resolve 45.0: missing requirement [45.0] osgi.wiring.package; (osgi.wiring.package=javax.management)]
            at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
            at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
            at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
            at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
            at java.base/java.lang.Thread.run(Thread.java:834)
     
     
     
    14:35:00,225 ERROR [KarafLifecycleListener] The Kettle Karaf Lifecycle Listener failed to execute properly after waiting for 100 seconds. Releasing lifecycle hold, but some services may be unavailable.
    2019/10/24 14:35:00 - Pan - Start of run.
    2019/10/24 14:35:00 - RepositoriesMeta - Reading repositories XML file: /root/.kettle/repositories.xml
    #1 : repo_myrepo [repo_myrepo]
    And if I launch a Job, I have a very weird error:

    ERROR: Can't find the supplied directory [/srv/etl/jobs/]
    And yet, this directory exists and I can "ls" it
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    ls -alF /srv/etl/jobs
    total 92
    drwxr-xr-x 3 root   root  4096 Oct 24 12:39 ./
    drwxrwxr-x 5 romain etl   4096 Oct 24 14:20 ../
    -rw-r--r-- 1 root   root 10690 Oct 23 18:54 myjob.kjb
    about 'sudo apt-get install libwebkitgtk-1.0-0' It seems to be well installed
     
    # apt install libwebkitgtk-1.0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libwebkitgtk-1.0-0' for regex 'libwebkitgtk-1.0'
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    Thank you for your help, I am really lost!

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Mai 2004
    Messages
    270
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2004
    Messages : 270
    Points : 163
    Points
    163
    Par défaut
    Hey again,



    I managed to find where this was from:



    https://support.pentaho.com/hc/en-us...vironment-JRE-



    Here we can see that PDI, even with the latest versions, is not compatible with Java 11.



    So I had to uninstall Java 11 and force install of version 8 (I was helped by this: "Installing OpenJDK 8")

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 4
    Dernier message: 14/02/2008, 20h41
  2. Réponses: 2
    Dernier message: 16/01/2008, 17h40
  3. error C2079: .. uses undefined class
    Par ioda100 dans le forum C++
    Réponses: 7
    Dernier message: 13/04/2007, 14h35
  4. error:invalid use of undefined type
    Par assif dans le forum C++
    Réponses: 2
    Dernier message: 25/10/2006, 21h11
  5. [VB6] Compile error: Invalide use of New Keyword
    Par ironik dans le forum VB 6 et antérieur
    Réponses: 5
    Dernier message: 16/05/2006, 12h40

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo