Open Source Databases

 View Only
Expand all | Collapse all

Log location of jar used in Java operator when run in distributed mode

  • 1.  Log location of jar used in Java operator when run in distributed mode

    Posted Wed October 21, 2020 06:16 PM

    Hi,

    I have a Java operator that uses an external jar in opt folder. The jar uses some properties files in opt folder and one of these is log4j2. When run in standalone, the logs from classes in external jar are created in out/bin folder. But when run in distributed mode, unable to find these logs. Checked for it in PE viewlogs location for the Java operator. Where would these be logged?

    Thanks.






    #OpenSourceOfferings
    #Streams
    #Support
    #SupportMigration


  • 2.  RE: Log location of jar used in Java operator when run in distributed mode

    Posted Thu October 22, 2020 08:56 PM

    Hi,

    All logs for an application should be in the Job logs, did you try downloading all the logs for the job?

    • From Streams Studio: Open the streams explorer, expand the Streams jobs node and select "get job logs".

    https://raw.githubusercontent.com/natashadsilva/test/master/joblogs.png






    #OpenSourceOfferings
    #Streams
    #Support
    #SupportMigration