[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142236713 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -35,7 +36,7 @@

[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread merrimanr
Github user merrimanr commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142237205 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -35,7 +36,7 @@

[GitHub] metron issue #664: METRON-1059 address AvoidStarImport checkstyle warning in...

2017-10-02 Thread dbist
Github user dbist commented on the issue: https://github.com/apache/metron/pull/664 I have a failure locally, will re-do the commit. ---

[GitHub] metron issue #737: METRON-1161: Add ability to edit parser command line opti...

2017-10-02 Thread merrimanr
Github user merrimanr commented on the issue: https://github.com/apache/metron/pull/737 I moved the default values to the storm config and changed getNumWorkers and getNumAckers to return the values in the storm config if numWorkers/numAckers is null. Is this what you were thinking?

[GitHub] metron pull request #664: METRON-1059 address AvoidStarImport checkstyle war...

2017-10-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/metron/pull/664 ---

[GitHub] metron issue #782: METRON-1222

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on the issue: https://github.com/apache/metron/pull/782 Please fill out the PR description ---

[GitHub] metron issue #772: METRON-1209: Make stellar repl take logging properties, l...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/772 Oh, sorry, forgot to respond here @ottobackwards You can test it by passing in a log4j properties (let's say something that turns on DEBUG logging) file via -l and ensure that the REPL shows debug

[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142149285 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -45,4 +45,14 @@ private

[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142149083 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -45,4 +45,14 @@ private

[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread cestella
Github user cestella commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142147088 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -45,4 +45,14 @@ private HttpStatus

[GitHub] metron pull request #732: METRON-632: Added validation of "shew.enrichmentTy...

2017-10-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/metron/pull/732 ---

[GitHub] metron issue #771: METRON-1204: UI does not time out after being idle, but s...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/771 +1 by inspection, great job @merrimanr ---

[DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Casey Stella
Ok, the build is broken in metron-config due to some transitive changes that happened in npm-land: [INFO] /Users/cstella/Documents/workspace/metron/fork/incubator-metron/metron-interface/metron-config/node_modules/toposort/index.js:32 [INFO] throw new Error('Cyclic dependency:

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Otto Fowler
[WARNING] npm WARN deprecated bower@1.8.2: ...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/ On October 2, 2017 at 11:29:50, Casey Stella (ceste...@gmail.com)

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Otto Fowler
Maybe we added a dependency or something since? On October 2, 2017 at 11:04:16, zeo...@gmail.com (zeo...@gmail.com) wrote: Hmm, 0.4.1 built fine for me. Jon On Mon, Oct 2, 2017 at 10:44 AM Casey Stella wrote: > Ok, the build is broken in metron-config due to some

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Laurens Vets
I can confirm 0.4.1 (on CentOS 6!) builds for me as well. Are we sure it isn't due to the version of node shipped with the OS? On 2017-10-02 08:04, zeo...@gmail.com wrote: Hmm, 0.4.1 built fine for me. Jon On Mon, Oct 2, 2017 at 10:44 AM Casey Stella wrote: Ok, the

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Otto Fowler
1. My failing builds are working again, both my branch off of master and my pr checkouts, all that was required was a mvn clean package 2. There was some discussion on yarn recently in a pr, though I can’t remember which one On October 2, 2017 at 11:45:48, Casey Stella (ceste...@gmail.com)

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread zeo...@gmail.com
Hmm, 0.4.1 built fine for me. Jon On Mon, Oct 2, 2017 at 10:44 AM Casey Stella wrote: > Ok, the build is broken in metron-config due to some transitive changes > that happened in npm-land: > > [INFO] > >

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Otto Fowler
We download and install node locally. But you can test this by : > git fetch apache > git checkout -b build-test apache/master > mvn clean package -DskipTests On October 2, 2017 at 11:17:03, Laurens Vets (laur...@daemon.be) wrote: I can confirm 0.4.1 (on CentOS 6!) builds for me as well.

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Casey Stella
Yeah, seems like it might be worth while to seriously investigate migrating to yarn if that gets us a consistent build. On Mon, Oct 2, 2017 at 11:37 AM, Otto Fowler wrote: > [WARNING] npm WARN deprecated bower@1.8.2: ...psst! Your project can stop > working at any

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Otto Fowler
http://mail-archives.apache.org/mod_mbox/metron-dev/201708.mbox/%3cCAGh_R=xvLB3tg_j3FhupyMz4iUsiXmNbagHKZ=gtfdc8u4b...@mail.gmail.com%3e On October 2, 2017 at 11:50:48, Otto Fowler (ottobackwa...@gmail.com) wrote: 1. My failing builds are working again, both my branch off of master and my pr

[GitHub] metron pull request #780: METRON-1220: Create documentation around alert nes...

2017-10-02 Thread nickwallen
Github user nickwallen commented on a diff in the pull request: https://github.com/apache/metron/pull/780#discussion_r142215715 --- Diff: metron-platform/metron-indexing/README.md --- @@ -163,6 +163,36 @@ Both of these functions are handled under the hood. In addition, an API

[GitHub] metron issue #780: METRON-1220: Create documentation around alert nested fie...

2017-10-02 Thread nickwallen
Github user nickwallen commented on the issue: https://github.com/apache/metron/pull/780 > Honestly, I think it should at the very least be linked from the documentation which tells people how to create their own parsers...which we do not seem to have. ;) Yes @cestella, I

Re: [DISCUSS] How should Management UI save changes?

2017-10-02 Thread Nick Allen
> Maybe change the text on the button on the primary panel to "write" instead of "save"? Another option would be to call it "Apply". > Also, I want wider child panels in the management UI if at all possible. > Especially the "RAW JSON" feels cramped. Yes, I agree. It seems to odd to me that

Re: [DISCUSS] Is there a reason for separate Management & Alerts UIs?

2017-10-02 Thread Nick Allen
I think the main reason historically is that each UI has different use cases and user roles. The Management UI will mainly be used by an Security Platform Engineer, while the Alerts UI will be used by a SOC Analyst, Investigator or Manager. That being said, I am not against a single, unified UI,

[GitHub] metron issue #772: METRON-1209: Make stellar repl take logging properties, l...

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on the issue: https://github.com/apache/metron/pull/772 +1 ---

[GitHub] metron issue #772: METRON-1209: Make stellar repl take logging properties, l...

2017-10-02 Thread ottobackwards
Github user ottobackwards commented on the issue: https://github.com/apache/metron/pull/772 As a note : ```bash -> % mvn exec:java \ -Dexec.mainClass="org.apache.metron.stellar.common.shell.StellarShell" -Dexec.args="-l src/test/resources/log4j.properties"

Re: [DISCUSS] How should Management UI save changes?

2017-10-02 Thread Otto Fowler
Maybe we should use DEPLOY as the final stage? On October 2, 2017 at 14:31:08, Nick Allen (n...@nickallen.org) wrote: > Maybe change the text on the button on the primary panel to "write" instead of "save"? Another option would be to call it "Apply". > Also, I want wider child panels in the

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Laurens Vets
I might have spoken too soon. This is what I see now on 0.4.1-release: ... [INFO] metron-contrib . SUCCESS [ 0.006 s] [INFO] metron-docker .. SUCCESS [ 3.088 s] [INFO] metron-interface ...

Re: [DISCUSS] Build broken due to transitive dependencies

2017-10-02 Thread Casey Stella
Well, that's a prescient and didn't seem to get any love. On Mon, Oct 2, 2017 at 11:53 AM, Otto Fowler wrote: > http://mail-archives.apache.org/mod_mbox/metron-dev/ > 201708.mbox/%3cCAGh_R=xvLB3tg_j3FhupyMz4iUsiXmNbagHKZ= > gtfdc8u4b...@mail.gmail.com%3e > > > On

[GitHub] metron issue #737: METRON-1161: Add ability to edit parser command line opti...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/737 So, I do believe the default values for num workers and ackers should be taken from the storm config if unspecified by us. Providing defaults when storm already has defaults for these properties

[GitHub] metron issue #780: METRON-1220: Create documentation around alert nested fie...

2017-10-02 Thread nickwallen
Github user nickwallen commented on the issue: https://github.com/apache/metron/pull/780 > Where should this live? I have this put up, so people can see what it says, but I'm pretty sure it should live somewhere else, under a different heading. I'm just not sure what the best

[GitHub] metron issue #780: METRON-1220: Create documentation around alert nested fie...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/780 Honestly, I think it should at the very least be linked from the documentation which tells people how to create their own parsers...which we do not seem to have. ;) ---

[GitHub] metron issue #780: METRON-1220: Create documentation around alert nested fie...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/780 Also, should be linked from metron-parsers makes sense IMO as any time you are adding a new sensor, you're going to need to add this field. This is the use-case that keeps biting us in the butt

[GitHub] metron issue #772: METRON-1209: Make stellar repl take logging properties, l...

2017-10-02 Thread nickwallen
Github user nickwallen commented on the issue: https://github.com/apache/metron/pull/772 Does this change the default log level of the REPL when run in a deployed Metron cluster? ---

[GitHub] metron issue #772: METRON-1209: Make stellar repl take logging properties, l...

2017-10-02 Thread cestella
Github user cestella commented on the issue: https://github.com/apache/metron/pull/772 It does not and should not. If that's what you're seeing, @nickwallen then it's a bug and I should fix it. ---

[GitHub] metron issue #779: METRON-1218: Metron REST should return better error messa...

2017-10-02 Thread merrimanr
Github user merrimanr commented on the issue: https://github.com/apache/metron/pull/779 The latest commit replaces the getFullMessage call with ExceptionUtils.getStackTrace. Hopefully that addresses the recursion issue. As for security @ottobackwards, I'm not sure what the

[GitHub] metron pull request #771: METRON-1204: UI does not time out after being idle...

2017-10-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/metron/pull/771 ---

[GitHub] metron pull request #779: METRON-1218: Metron REST should return better erro...

2017-10-02 Thread merrimanr
Github user merrimanr commented on a diff in the pull request: https://github.com/apache/metron/pull/779#discussion_r142235450 --- Diff: metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/RestExceptionHandler.java --- @@ -35,7 +36,7 @@