Re: Schema Discovery Support in Apex Applications

2017-01-30 Thread Sergey Golovko
Sorry, I’m a new person in the APEX team. And I don't understand clearly who are consumers of the output port operator schema(s). 1. If the consumers are non-run-time callers like the application manager or UI designer, maybe it makes sense to use Java static method(s) to retrieve the output

Re: Programmatic log4j appender in Apex

2017-04-10 Thread Sergey Golovko
s by simply implementing the Appender >>>> interface >>>> and adding it >>>> with Logger.addAppender() in the setup method. Why do we need something >>>> more elaborate ? >>>> >>>> Ram >>>> >>>> On Mo

Re: Programmatic log4j appender in Apex

2017-04-10 Thread Sergey Golovko
check the desired runtime condition and add the appropriate appender. > >>>> > >>>> Or are we saying there are scenarios where we absolutely cannot create > >>>> the > >>>> appender beforehand ? > >>>> > >>>

Re: Programmatic log4j appender in Apex

2017-04-15 Thread Sergey Golovko
s that log4j needs to > be optional. > > Thanks, > Thomas > > > On Sat, Apr 15, 2017 at 2:01 PM, Sergey Golovko <ser...@datatorrent.com> > wrote: > > > I agree it would be very nice to use only slf4j interfaces for the > > implementation. But unfortunately

Re: Programmatic log4j appender in Apex

2017-04-15 Thread Sergey Golovko
way that avoids > a hard dependency on log4j. The interface for logging is slf4j and it > should be possible to use other logger backends. > > > On Mon, Apr 10, 2017 at 9:21 PM, Sergey Golovko <ser...@datatorrent.com> > wrote: > > > I don't think an operator needs a spec

Programmatic log4j appender in Apex

2017-04-07 Thread Sergey Golovko
Hi All, I'd like to add supporting of a custom defined log4j appender that can be added to Apex Application Master and Containers and be configurable programmatically. Sometimes it is not trivial to control log4j configuration via log4j properties. And I think the having of the approach to add a

Questions about the method JarHelper.getJar()

2017-07-09 Thread Sergey Golovko
Hello All, I have a couple of questions about the usage of the method JarHelper.getJar(). 1. The implementation of the method JarHelper.getJar() takes a Java class as a parameter and tries to find the jar file that contains the Java class. If the class does not belong to a jar-file, it

Re: [VOTE] Major version change for Apex Library (Malhar)

2017-08-23 Thread Sergey Golovko
-1 for the option 2 I don't think it makes sense to rush to rename the package name. There are Apache Java projects that use the original package names after migration to Apache Software Foundation. For instance, Apache Felix (org.osgi) Apache

[Proposal] Extension of the Apex configuration to add dependent jar files in runtime.

2018-01-29 Thread Sergey Golovko
Hello All, In Apex there are two ways to deploy non-Hadoop jars to the deployed cluster. The first approach is static (hardcoded) and it is used by Apex platform developers only. There are several final static arrays of Java classes in StramClient.java that define which of the available jars

Re: [Proposal] Extension of the Apex configuration to add dependent jar files in runtime.

2018-02-02 Thread Sergey Golovko
ion is a docker image, which would contain Apex and all > dependencies that the "StramClient" today adds for YARN. > > In that world there would be no Apex CLI or Apex specific client. > > Thomas > > > > On Thu, Feb 1, 2018 at 5:57 PM, Sergey Golovko <ser...@d

Re: [Proposal] Extension of the Apex configuration to add dependent jar files in runtime.

2018-02-01 Thread Sergey Golovko
; Thank you, > > Vlad > > > On 1/29/18 15:14, Sergey Golovko wrote: > >> Hello All, >> >> In Apex there are two ways to deploy non-Hadoop jars to the deployed >> cluster. >> >> The first approach is static (hardcoded) and it is used by Apex platfor

Re: [Proposal] Extension of the Apex configuration to add dependent jar files in runtime.

2018-02-04 Thread Sergey Golovko
> > >>> On 2/2/18 13:17, Sanjay Pujare wrote: > >>> > >>>> In cases where we have an "über" docker image containing support for > >>>> multiple execution environments it might be useful for the Apex core > to > >>>>

Re: [Proposal] Extension of the Apex configuration to add dependent jar files in runtime.

2018-02-05 Thread Sergey Golovko
of the platform. Thanks, Sergey On Mon, Feb 5, 2018 at 9:39 AM, Vlad Rozov <vro...@apache.org> wrote: > Apex platform dependencies are already covered with the compile time check > in place. Platform extensions are covered by plugins. > > Thank you, > > Vlad > > > On 2

[jira] [Created] (APEXCORE-627) Unit test AtMostOnceTest intermittently fails

2017-01-27 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-627: --- Summary: Unit test AtMostOnceTest intermittently fails Key: APEXCORE-627 URL: https://issues.apache.org/jira/browse/APEXCORE-627 Project: Apache Apex Core

[jira] [Commented] (APEXCORE-644) get-app-package-operators with parent option does not work

2017-02-09 Thread Sergey Golovko (JIRA)
[ https://issues.apache.org/jira/browse/APEXCORE-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15860367#comment-15860367 ] Sergey Golovko commented on APEXCORE-644: - There are two apex command line operators that have

[jira] [Created] (APEXCORE-704) Add supporting of programmatic logger appender

2017-04-15 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-704: --- Summary: Add supporting of programmatic logger appender Key: APEXCORE-704 URL: https://issues.apache.org/jira/browse/APEXCORE-704 Project: Apache Apex Core

[jira] [Commented] (APEXCORE-754) Add plugin dependency jar-files to application package

2017-07-06 Thread Sergey Golovko (JIRA)
[ https://issues.apache.org/jira/browse/APEXCORE-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16077092#comment-16077092 ] Sergey Golovko commented on APEXCORE-754: - The improvement will allow the users to simplify

[jira] [Created] (APEXCORE-754) Add plugin dependency jar-files to application package

2017-07-06 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-754: --- Summary: Add plugin dependency jar-files to application package Key: APEXCORE-754 URL: https://issues.apache.org/jira/browse/APEXCORE-754 Project: Apache Apex

[jira] [Commented] (APEXCORE-754) Add plugin dependency jar-files to application package

2017-07-06 Thread Sergey Golovko (JIRA)
[ https://issues.apache.org/jira/browse/APEXCORE-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16077234#comment-16077234 ] Sergey Golovko commented on APEXCORE-754: - Yes, I'm looking at plugins that are not a part

[jira] [Created] (APEXCORE-719) Pass an application name from stram client to application master and container via command line properties

2017-05-11 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-719: --- Summary: Pass an application name from stram client to application master and container via command line properties Key: APEXCORE-719 URL: https://issues.apache.org/jira

[jira] [Created] (APEXCORE-723) Replace double quotes with a single quotes in command line arguments for passing of the logger appender properties

2017-05-17 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-723: --- Summary: Replace double quotes with a single quotes in command line arguments for passing of the logger appender properties Key: APEXCORE-723 URL: https://issues.apache.org

[jira] [Created] (APEXCORE-744) Add setting of predefined static logger appender properties

2017-06-07 Thread Sergey Golovko (JIRA)
Sergey Golovko created APEXCORE-744: --- Summary: Add setting of predefined static logger appender properties Key: APEXCORE-744 URL: https://issues.apache.org/jira/browse/APEXCORE-744 Project: Apache