[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346019#comment-16346019
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on the issue:

https://github.com/apache/metron/pull/690
  
Perfect, ty.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345892#comment-16345892
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user asfgit closed the pull request at:

https://github.com/apache/metron/pull/690


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345387#comment-16345387
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
Done, let me know if the changes are sufficient @JonZeolla 


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345358#comment-16345358
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r164805799
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1413,6 +1413,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.2-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.2-uber.jar
--- End diff --

Optional:  Update to `0.4.3`.  Only mentioning because I saw you updated 
this in the past from `0.4.1` to `0.4.2`.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345359#comment-16345359
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r164805812
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1413,6 +1413,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.2-stand-alone.tar.gz
--- End diff --

Optional:  Update to `0.4.3`.  Only mentioning because I saw you updated 
this in the past from `0.4.1` to `0.4.2`.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-30 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345357#comment-16345357
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r164805617
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
+```
+
+To run the Stellar Shell run the following from the directory you unpacked 
to:
+
+```bash
+bin/stellar
+```
+
+```bash
+-> % bin/stellar
+Stellar, Go!
+Please note that functions are loading lazily in the background and will 
be unavailable until loaded fully.
+[Stellar]>>> Functions loaded, you may refer to functions now...
+
+[Stellar]>>> %functions
+ABS, APPEND_IF_MISSING, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, BLOOM_MERGE, 
CEILING, CHOMP, CHOP, COS, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DECODE, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, 
DOMAIN_TO_TLD, ENCODE, ENDS_WITH, EXP, FILL_LEFT, FILL_RIGHT, FILTER, FLOOR, 
FORMAT, GET, GET_FIRST, GET_LAST, GET_SUPPORTED_ENCODINGS, IN_SUBNET, IS_EMPTY, 
IS_ENCODING, JOIN, LENGTH, LIST_ADD, LN, LOG10, LOG2, MAP, MAP_EXISTS, MAP_GET, 
MONTH, PREPEND_IF_MISSING, REDUCE, REGEXP_GROUP_VAL, REGEXP_MATCH, ROUND, SIN, 
SPLIT, SQRT, STARTS_WITH, STRING_ENTROPY, SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, 
TAN, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, TO_INTEGER, TO_LONG, TO_LOWER, 
TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, URL_TO_PATH, URL_TO_PORT, 
URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZIP, ZIP_LONGEST
+[Stellar]>>>
+```
+
+By default the shell will have the base Stellar Language commands 
available.  Any jars in the lib directory
+that contain Stellar functions will also be loaded, and their commands 
will be available to shell, as long
+as their dependencies are satisfied.
--- End diff --

I still think that it should be a little bit more explicit that some 
Stellar functions won't be available by default (without needing to explicitly 
outline which).  Something like:
`By default the shell is limited to only the base Stellar common language 
commands.`


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334419#comment-16334419
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
@JonZeolla  this should be set


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>Priority: Major
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2018-01-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316689#comment-16316689
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user mmiklavc commented on the issue:

https://github.com/apache/metron/pull/690
  
This looks reasonable to me @ottobackwards. I'm +1 pending any further work 
per @JonZeolla's comments. Thanks for the contribution!


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244568#comment-16244568
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149768741
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
+```
+
+To run the Stellar Shell run the following from the directory you unpacked 
to:
+
+```bash
+bin/stellar
+```
+
+```bash
+-> % bin/stellar
+Stellar, Go!
+Please note that functions are loading lazily in the background and will 
be unavailable until loaded fully.
+[Stellar]>>> Functions loaded, you may refer to functions now...
+
+[Stellar]>>> %functions
+ABS, APPEND_IF_MISSING, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, BLOOM_MERGE, 
CEILING, CHOMP, CHOP, COS, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DECODE, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, 
DOMAIN_TO_TLD, ENCODE, ENDS_WITH, EXP, FILL_LEFT, FILL_RIGHT, FILTER, FLOOR, 
FORMAT, GET, GET_FIRST, GET_LAST, GET_SUPPORTED_ENCODINGS, IN_SUBNET, IS_EMPTY, 
IS_ENCODING, JOIN, LENGTH, LIST_ADD, LN, LOG10, LOG2, MAP, MAP_EXISTS, MAP_GET, 
MONTH, PREPEND_IF_MISSING, REDUCE, REGEXP_GROUP_VAL, REGEXP_MATCH, ROUND, SIN, 
SPLIT, SQRT, STARTS_WITH, STRING_ENTROPY, SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, 
TAN, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, TO_INTEGER, TO_LONG, TO_LOWER, 
TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, URL_TO_PATH, URL_TO_PORT, 
URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZIP, ZIP_LONGEST
+[Stellar]>>>
+```
+
+By default the shell will have the base Stellar Language commands 
available.  Any jars in the lib directory
+that contain Stellar functions will also be loaded, and their commands 
will be available to shell, as long
+as their dependencies are satisfied.
--- End diff --

I actually think moving the functions OUT of stellar common, now that it is 
broken out is the right thing™ to do


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244562#comment-16244562
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149767436
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
+```
+
+To run the Stellar Shell run the following from the directory you unpacked 
to:
+
+```bash
+bin/stellar
+```
+
+```bash
+-> % bin/stellar
+Stellar, Go!
+Please note that functions are loading lazily in the background and will 
be unavailable until loaded fully.
+[Stellar]>>> Functions loaded, you may refer to functions now...
+
+[Stellar]>>> %functions
+ABS, APPEND_IF_MISSING, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, BLOOM_MERGE, 
CEILING, CHOMP, CHOP, COS, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DECODE, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, 
DOMAIN_TO_TLD, ENCODE, ENDS_WITH, EXP, FILL_LEFT, FILL_RIGHT, FILTER, FLOOR, 
FORMAT, GET, GET_FIRST, GET_LAST, GET_SUPPORTED_ENCODINGS, IN_SUBNET, IS_EMPTY, 
IS_ENCODING, JOIN, LENGTH, LIST_ADD, LN, LOG10, LOG2, MAP, MAP_EXISTS, MAP_GET, 
MONTH, PREPEND_IF_MISSING, REDUCE, REGEXP_GROUP_VAL, REGEXP_MATCH, ROUND, SIN, 
SPLIT, SQRT, STARTS_WITH, STRING_ENTROPY, SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, 
TAN, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, TO_INTEGER, TO_LONG, TO_LOWER, 
TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, URL_TO_PATH, URL_TO_PORT, 
URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZIP, ZIP_LONGEST
+[Stellar]>>>
+```
+
+By default the shell will have the base Stellar Language commands 
available.  Any jars in the lib directory
+that contain Stellar functions will also be loaded, and their commands 
will be available to shell, as long
+as their dependencies are satisfied.
--- End diff --

What about if you just change it from:
have the base Stellar Language commands
to
have only the base Stellar Language commands
?

I'm not looking to explicitly mention *what* functions would not exist 
here, and why, but simply make it more obvious that things will be missing here 
by default.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244558#comment-16244558
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149766318
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
+```
+
+To run the Stellar Shell run the following from the directory you unpacked 
to:
+
+```bash
+bin/stellar
+```
+
+```bash
+-> % bin/stellar
+Stellar, Go!
+Please note that functions are loading lazily in the background and will 
be unavailable until loaded fully.
+[Stellar]>>> Functions loaded, you may refer to functions now...
+
+[Stellar]>>> %functions
+ABS, APPEND_IF_MISSING, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, BLOOM_MERGE, 
CEILING, CHOMP, CHOP, COS, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DECODE, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, 
DOMAIN_TO_TLD, ENCODE, ENDS_WITH, EXP, FILL_LEFT, FILL_RIGHT, FILTER, FLOOR, 
FORMAT, GET, GET_FIRST, GET_LAST, GET_SUPPORTED_ENCODINGS, IN_SUBNET, IS_EMPTY, 
IS_ENCODING, JOIN, LENGTH, LIST_ADD, LN, LOG10, LOG2, MAP, MAP_EXISTS, MAP_GET, 
MONTH, PREPEND_IF_MISSING, REDUCE, REGEXP_GROUP_VAL, REGEXP_MATCH, ROUND, SIN, 
SPLIT, SQRT, STARTS_WITH, STRING_ENTROPY, SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, 
TAN, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, TO_INTEGER, TO_LONG, TO_LOWER, 
TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, URL_TO_PATH, URL_TO_PORT, 
URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZIP, ZIP_LONGEST
+[Stellar]>>>
+```
+
+By default the shell will have the base Stellar Language commands 
available.  Any jars in the lib directory
+that contain Stellar functions will also be loaded, and their commands 
will be available to shell, as long
+as their dependencies are satisfied.
--- End diff --

I agree that this could be more clear, but I don't think this is the PR for 
it.  I think in general we need to either document or provide some more 
information through the functions on what should be included.

IE: Move the documentation so that the stellar/README only has things in 
stellar-common -or-
decorate which lib needs to be included with each function in the doc etc.





> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was se

[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244530#comment-16244530
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149759730
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
+```
+
+To run the Stellar Shell run the following from the directory you unpacked 
to:
+
+```bash
+bin/stellar
+```
+
+```bash
+-> % bin/stellar
+Stellar, Go!
+Please note that functions are loading lazily in the background and will 
be unavailable until loaded fully.
+[Stellar]>>> Functions loaded, you may refer to functions now...
+
+[Stellar]>>> %functions
+ABS, APPEND_IF_MISSING, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, BLOOM_MERGE, 
CEILING, CHOMP, CHOP, COS, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DECODE, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, 
DOMAIN_TO_TLD, ENCODE, ENDS_WITH, EXP, FILL_LEFT, FILL_RIGHT, FILTER, FLOOR, 
FORMAT, GET, GET_FIRST, GET_LAST, GET_SUPPORTED_ENCODINGS, IN_SUBNET, IS_EMPTY, 
IS_ENCODING, JOIN, LENGTH, LIST_ADD, LN, LOG10, LOG2, MAP, MAP_EXISTS, MAP_GET, 
MONTH, PREPEND_IF_MISSING, REDUCE, REGEXP_GROUP_VAL, REGEXP_MATCH, ROUND, SIN, 
SPLIT, SQRT, STARTS_WITH, STRING_ENTROPY, SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, 
TAN, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, TO_INTEGER, TO_LONG, TO_LOWER, 
TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, URL_TO_PATH, URL_TO_PORT, 
URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZIP, ZIP_LONGEST
+[Stellar]>>>
+```
+
+By default the shell will have the base Stellar Language commands 
available.  Any jars in the lib directory
+that contain Stellar functions will also be loaded, and their commands 
will be available to shell, as long
+as their dependencies are satisfied.
--- End diff --

Maybe we can be a little bit more explicit that, by default, not all 
stellar functions will work in the standalone shell.  For instance, clarifying 
that only functions available listed in response to %functions will be included 
may be enough?  I quickly noted that BIN, HLLP_*, STATS_*, OUTLIER_MAD_*, etc. 
weren't in there as profiler/management commands aren't included.  Maybe we say 
that as well?


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent 

[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244531#comment-16244531
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149686111
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
+```
+
+When unpacked, the following structure will be created:
+
+```bash
+.
+├── bin
+│   └── stellar
+└── lib
+└── stellar-common-0.4.1-uber.jar
--- End diff --

`s/0\.4\.1/0.4.2/`


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-11-08 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16244532#comment-16244532
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r149686086
  
--- Diff: metron-stellar/stellar-common/README.md ---
@@ -1346,6 +1346,46 @@ Please note that functions are loading lazily in the 
background and will be unav
 %functions
 ABS, APPEND_IF_MISSING, BIN, BLOOM_ADD, BLOOM_EXISTS, BLOOM_INIT, 
BLOOM_MERGE, CHOMP, CHOP, COUNT_MATCHES, DAY_OF_MONTH, DAY_OF_WEEK, 
DAY_OF_YEAR, DOMAIN_REMOVE_SUBDOMAINS, DOMAIN_REMOVE_TLD, DOMAIN_TO_TLD, 
ENDS_WITH, FILL_LEFT, FILL_RIGHT, FILTER, FORMAT, GET, GET_FIRST, GET_LAST, 
HLLP_ADD, HLLP_CARDINALITY, HLLP_INIT, HLLP_MERGE, IN_SUBNET, IS_DATE, 
IS_DOMAIN, IS_EMAIL, IS_EMPTY, IS_INTEGER, IS_IP, IS_URL, JOIN, LENGTH, 
LIST_ADD, MAAS_GET_ENDPOINT, MAAS_MODEL_APPLY, MAP, MAP_EXISTS, MAP_GET, MONTH, 
OUTLIER_MAD_ADD, OUTLIER_MAD_SCORE, OUTLIER_MAD_STATE_MERGE, 
PREPEND_IF_MISSING, PROFILE_FIXED, PROFILE_GET, PROFILE_WINDOW, 
PROTOCOL_TO_NAME, REDUCE, REGEXP_MATCH, SPLIT, STARTS_WITH, STATS_ADD, 
STATS_BIN, STATS_COUNT, STATS_GEOMETRIC_MEAN, STATS_INIT, STATS_KURTOSIS, 
STATS_MAX, STATS_MEAN, STATS_MERGE, STATS_MIN, STATS_PERCENTILE, 
STATS_POPULATION_VARIANCE, STATS_QUADRATIC_MEAN, STATS_SD, STATS_SKEWNESS, 
STATS_SUM, STATS_SUM_LOGS, STATS_SUM_SQUARES, STATS_VARIANCE, STRING_ENTROPY, 
SYSTEM_ENV_GET, SYSTEM_PROPERTY_GET, TO_DOUBLE, TO_EPOCH_TIMESTAMP, TO_FLOAT, 
TO_INTEGER, TO_LONG, TO_LOWER, TO_STRING, TO_UPPER, TRIM, URL_TO_HOST, 
URL_TO_PATH, URL_TO_PORT, URL_TO_PROTOCOL, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR 
 ```
+## Stellar Shell Stand Alone
+
+The Stellar Shell is also packaged as a stand alone application.  It can 
be unpacked on any supported
+operating system.
+
+```bash

+metron-stellar/stellar-common/target/stellar-common-0.4.1-stand-alone.tar.gz
--- End diff --

`s/0\.4\.1/0.4.2/`


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-10-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217481#comment-16217481
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
Hopefully it is all set @JonZeolla 


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-10-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215466#comment-16215466
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
Sorry , it has been a while, I'll try to get it set


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-10-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215233#comment-16215233
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on the issue:

https://github.com/apache/metron/pull/690
  
Can you deconflict?  I'd like to retest and review your questions again, 
but at a quick glance I think my prior suggestions stand, and for your NOTICE 
question, I'm not sure.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149494#comment-16149494
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
I have refactored this to be stellar centric.
We will create a second archive for the stand alone shell from 
stellar-common.
I also documented it in the stellar README.md.

The questions about NOTICE, LIC, README for deployment still apply.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149490#comment-16149490
 ] 

ASF GitHub Bot commented on METRON-1091:


GitHub user ottobackwards reopened a pull request:

https://github.com/apache/metron/pull/690

METRON-1091 Package STELLAR shell as stand alone

This PR adds metron-deployment/packaging/archive, and the 
metron-stellar-shell module.
This module packages a stellar shell environment that allows running 
stellar on a workstation that is not a dev/build machine, nor is a cluster node.

The idea is that a metron 'admin' may want to run stellar commands on his 
local machine.

Remote management ( config_get etc ) and profile would be useful, but have 
not been included.  I do not believe it is realistic for the expected user to 
open firewall ports or have the 'confs' setup to have these functions work as 
they would on a metron cluster node.

This use case would seem to require REST support of some kind.  Maybe a 
/metron-interface/metron-rest-stellar module.  Or maybe when extensions come to 
stellar we can just do it as an extension.

Also a problem, is that there are management functions that bring in hadoop 
dependencies mixed in with other functions like SHELL_EDIT() that may be useful 
on their own.

## Testing
- package
- take 
/metron-deployment/packaging/archive/metron-stellar-shell/target/metron-stellar-shell-0.4.1-archive.tar.gz
 and unpack it in some directory
- run it
- `stellar it up


## Questions for reviewers
- Where should the doc for this go? 
- What NOTICE or other Files should be in the deployed env?
- Do we want to post this as a separate download?
- Above questions wrt port opening and configuration



## Pull Request Checklist

Thank you for submitting a contribution to Apache Metron.  
Please refer to our [Development 
Guidelines](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61332235)
 for the complete guide to follow for contributions.  
Please refer also to our [Build Verification 
Guidelines](https://cwiki.apache.org/confluence/display/METRON/Verifying+Builds?show-miniview)
 for complete smoke testing guides.  


In order to streamline the review of the contribution we ask you follow 
these guidelines and ask you to double check the following:

### For all changes:
- [x] Is there a JIRA ticket associated with this PR? If not one needs to 
be created at [Metron 
Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel).
 
- [x] Does your PR title start with METRON- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
- [x] Has your PR been rebased against the latest commit within the target 
branch (typically master)?


### For code changes:
- [ ] Have you included steps to reproduce the behavior or problem that is 
being changed or addressed?
- [x] Have you included steps or a guide to how the change may be verified 
and tested manually?
- [x] Have you ensured that the full suite of tests and checks have been 
executed in the root metron folder via:
  ```
  mvn -q clean integration-test install && build_utils/verify_licenses.sh 
  ```

- [ ] Have you written or updated unit tests and or integration tests to 
verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] Have you verified the basic functionality of the build by building 
and running locally with Vagrant full-dev environment or the equivalent?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered by building and verifying the site-book? If not then run 
the following commands and the verify changes via 
`site-book/target/site/index.html`:

  ```
  cd site-book
  mvn site
  ```

 Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
It is also recommended that [travis-ci](https://travis-ci.org) is set up 
for your personal repository such that your branches are built there before 
submitting a pull request.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ottobackwards/metron stellar_stand_alone

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/metron/pull/690.patch

To close this pull request, make a commit to your master/trunk branch
wi

[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149134#comment-16149134
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on the issue:

https://github.com/apache/metron/pull/690
  
Right, I think the disconnect is that I would envision a stellar shell with 
metron stellar functions added as libs, as you suggested.  That's why I was 
thinking we would doc in stellar-common, I missed that this includes 
management/profiler functions.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149132#comment-16149132
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards closed the pull request at:

https://github.com/apache/metron/pull/690


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149131#comment-16149131
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
I'm going to close this and refactor


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149114#comment-16149114
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
@JonZeolla I don't want to document it in the stellar-common module.
Stellar is being broken out of metron.  The packaging of stellar as a 
shell, with the likely inclusion of metron-* stellar functions is a 'metron' 
thing.  not a stellar thing.  

At least that is what I'm thinking.  So this is a metron custom deployment 
of the shell.  I could change it to the default stand alone deployment of the 
shell for stellar, but I didn't think that was the right way to start out, at 
the time at least.

We **could** do it as the default archive of stellar common, and then do 
**another** archive of metron stellar jars.

So the usage would be:

unpack shell package
unpack metron-stellar-package into lib




> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-31 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149103#comment-16149103
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
bump - any comments on this?  Any ideas for deployment?  can we leave for 
later?


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126561#comment-16126561
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r133081100
  
--- Diff: metron-deployment/packaging/archive/metron-stellar-shell/pom.xml 
---
@@ -0,0 +1,94 @@
+
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  4.0.0
+  
+org.apache.metron
+metron-deployment
+0.4.1
+../../..
+  
+  metron-stellar-shell
+  metron-stellar-shell-archive
+  Archive of stellar shell and libraries for stand alone 
running
+  https://metron.apache.org/
+  
+UTF-8
+
UTF-8
+1.10
+${project.parent.relativePath}/..
+  
--- End diff --

I'm not an expert either.  I copied what that docker-rpm pom does, because 
it does similar resource things.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126504#comment-16126504
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user mattf-horton commented on a diff in the pull request:

https://github.com/apache/metron/pull/690#discussion_r133076804
  
--- Diff: metron-deployment/packaging/archive/metron-stellar-shell/pom.xml 
---
@@ -0,0 +1,94 @@
+
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  4.0.0
+  
+org.apache.metron
+metron-deployment
+0.4.1
+../../..
+  
+  metron-stellar-shell
+  metron-stellar-shell-archive
+  Archive of stellar shell and libraries for stand alone 
running
+  https://metron.apache.org/
+  
+UTF-8
+
UTF-8
+1.10
+${project.parent.relativePath}/..
+  
--- End diff --

So I'm not a build-and-deployment expert, but shouldn't this pom have a 
dependency on stellar-common?  Perhaps, with or without the exclusions:
```xml

org.apache.metron
stellar-common
uber
${project.parent.version}


log4j
log4j


org.slf4j
slf4j-log4j12



 ```

The copy-resources could, if desired, then be replaced by usage in the 
assembly.xml of a dependencySet reference.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125783#comment-16125783
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user cestella commented on the issue:

https://github.com/apache/metron/pull/690
  
I just want to make sure that we didn't break backwards compatibility and 
have the shell not deployed as part of the mpack, I guess ;)


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125741#comment-16125741
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
Casey, this adds a new packaging subfolder -> archive, and generates a new 
artifact ( the tar.gz ).
It does not effect the current deployment of the stellar shell as a part of 
metron.

I put it in deployment / packaging as default for 2 reasons:

1. If we do include profiler/management etc that makes this a metron thing 
and not a stellar thing
2. We don't have any packaging outside of deployment

Both of those things are up for discussion.

an RPM of the shell for RPM deployment to NON metron nodes could be a 
follow on.

---







*Comments from 
[Reviewable](https://reviewable.io:443/reviews/apache/metron/690#-:-KrW6vGRzz8e1jzn5S1b:b-6c7w3h)*




> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125682#comment-16125682
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user cestella commented on the issue:

https://github.com/apache/metron/pull/690
  
Are we packaging up the RPMs correctly to ship the stellar shell after this 
work has been done?  Have we tried this in full-dev?


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125065#comment-16125065
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on the issue:

https://github.com/apache/metron/pull/690
  
Some ideas:

* Where should the doc for this go?
  * I would suggest under 
[here](https://github.com/apache/metron/tree/master/metron-stellar/stellar-common#stellar-shell).
* Do we want to post this as a separate download?
  * Probably not IMO, this is a bit more of a niche tool.
* Above questions wrt port opening and configuration
  * Probably handle as a follow-on, if at all.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-13 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124989#comment-16124989
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user ottobackwards commented on the issue:

https://github.com/apache/metron/pull/690
  
@JonZeolla Thanks for the review!
There are several questions in the description that I think need to fall 
out of the review, one of them is where or how to document this.

Any ideas?


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16124778#comment-16124778
 ] 

ASF GitHub Bot commented on METRON-1091:


Github user JonZeolla commented on the issue:

https://github.com/apache/metron/pull/690
  
+1, visual inspection + a bit of playing around (see below).

```
~/bin$ ./stellar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
log4j:WARN No appenders could be found for logger 
(org.apache.metron.stellar.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
Stellar, Go!
Please note that functions are loading lazily in the background and will be 
unavailable until loaded fully.
[Stellar]>>> Functions loaded, you may refer to functions now...

[Stellar]>>> TO_DOUBLE(2)
2.0
[Stellar]>>> TO_INTEGER(SQRT(64))
8
[Stellar]>>> TO_UPPER('ThIS is A TEsT of MetRoN-1091')
THIS IS A TEST OF METRON-1091
[Stellar]>>> CHOP('2093j0f29k30fk230f2j309jf')
2093j0f29k30fk230f2j309j
[Stellar]>>> COUNT_MATCHES('the quick brown fox jumped over the lazy dog', 
'o')
4
[Stellar]>>> DAY_OF_YEAR(1502592512)
18
[Stellar]>>> DAY_OF_MONTH(1502592512)
18
~$ bin/stellar
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
log4j:WARN No appenders could be found for logger 
(org.apache.metron.stellar.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
Stellar, Go!
Please note that functions are loading lazily in the background and will be 
unavailable until loaded fully.
[Stellar]>>> Functions loaded, you may refer to functions now...

[Stellar]>>> DAY_OF_YEAR(1502592893)
18
[Stellar]>>> DAY_OF_MONTH(1502592893)
18
[Stellar]>>> COUNT_MATCHES('the quick brown fox jumped over the lazy dog', 
'o')
4
```

Opened [METRON-1107](https://issues.apache.org/jira/browse/METRON-1107) for 
the DAY_OF_{YEAR,MONTH} issue, otherwise looks good to me.


> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123425#comment-16123425
 ] 

ASF GitHub Bot commented on METRON-1091:


GitHub user ottobackwards opened a pull request:

https://github.com/apache/metron/pull/690

METRON-1091 Package STELLAR shell as stand alone

This PR adds metron-deployment/packaging/archive, and the 
metron-stellar-shell module.
This module packages a stellar shell environment that allows running 
stellar on a workstation that is not a dev/build machine, nor is a cluster node.

The idea is that a metron 'admin' may want to run stellar commands on his 
local machine.

Remote management ( config_get etc ) and profile would be useful, but have 
not been included.  I do not believe it is realistic for the expected user to 
open firewall ports or have the 'confs' setup to have these functions work as 
they would on a metron cluster node.

This use case would seem to require REST support of some kind.  Maybe a 
/metron-interface/metron-rest-stellar module.  Or maybe when extensions come to 
stellar we can just do it as an extension.

## Testing
- package
- take 
/metron-deployment/packaging/archive/metron-stellar-shell/target/metron-stellar-shell-0.4.1-archive.tar.gz
 and unpack it in some directory
- run it
- `stellar it up


## Questions for reviewers
- Where should the doc for this go? 
- What NOTICE or other Files should be in the deployed env?
- Do we want to post this as a separate download?
- Above questions wrt port opening and configuration



## Pull Request Checklist

Thank you for submitting a contribution to Apache Metron.  
Please refer to our [Development 
Guidelines](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61332235)
 for the complete guide to follow for contributions.  
Please refer also to our [Build Verification 
Guidelines](https://cwiki.apache.org/confluence/display/METRON/Verifying+Builds?show-miniview)
 for complete smoke testing guides.  


In order to streamline the review of the contribution we ask you follow 
these guidelines and ask you to double check the following:

### For all changes:
- [x] Is there a JIRA ticket associated with this PR? If not one needs to 
be created at [Metron 
Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel).
 
- [x] Does your PR title start with METRON- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
- [x] Has your PR been rebased against the latest commit within the target 
branch (typically master)?


### For code changes:
- [ ] Have you included steps to reproduce the behavior or problem that is 
being changed or addressed?
- [x] Have you included steps or a guide to how the change may be verified 
and tested manually?
- [x] Have you ensured that the full suite of tests and checks have been 
executed in the root metron folder via:
  ```
  mvn -q clean integration-test install && build_utils/verify_licenses.sh 
  ```

- [ ] Have you written or updated unit tests and or integration tests to 
verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)? 
- [ ] Have you verified the basic functionality of the build by building 
and running locally with Vagrant full-dev environment or the equivalent?

### For documentation related changes:
- [ ] Have you ensured that format looks appropriate for the output in 
which it is rendered by building and verifying the site-book? If not then run 
the following commands and the verify changes via 
`site-book/target/site/index.html`:

  ```
  cd site-book
  mvn site
  ```

 Note:
Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.
It is also recommended that [travis-ci](https://travis-ci.org) is set up 
for your personal repository such that your branches are built there before 
submitting a pull request.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ottobackwards/metron stellar_stand_alone

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/metron/pull/690.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #690


commit eab62efeed7188794e5054b2af2ab256a3b6d6fc
Author: Otto Fowler 
Date:   2017-08-09T19:25:33Z

 

[jira] [Commented] (METRON-1091) STELLAR Shell: Stand Alone installation

2017-08-11 Thread Otto Fowler (JIRA)

[ 
https://issues.apache.org/jira/browse/METRON-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16123414#comment-16123414
 ] 

Otto Fowler commented on METRON-1091:
-

Initial PR will just be stellar core.  My hope is that through review we can 
discuss brining in other modules

> STELLAR Shell: Stand Alone installation
> ---
>
> Key: METRON-1091
> URL: https://issues.apache.org/jira/browse/METRON-1091
> Project: Metron
>  Issue Type: New Feature
>Reporter: Otto Fowler
>Assignee: Otto Fowler
>  Labels: shell, stellar
>
> We should have a way that the stellar shell can be installed and run easily 
> on any machine that supports java.
> This may just be a new UBER Jar, or something else.
> It may also be useful to have this app start up and initialize a zookeeper 
> instance and other things for a testing or simulated environment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)