Re: Unable to start BEAM sql shell

2019-07-09 Thread Lukasz Cwik
Thanks for the fixes. I have reviewed both and merged them.

On Tue, Jul 9, 2019 at 10:59 AM Kyle Weaver  wrote:

> I would also make sure that you are running the command from the root of
> the repo.
>
> Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com
> | +1650203
>
>
> On Tue, Jul 9, 2019 at 10:29 AM Rui Wang  wrote:
>
>> By applying the change above on a fresh clone from master, the command to
>> bundle SQL shell can pass on my mac. My Gradle is also 5.4.1 and it's Java
>> 8. A PR  was cut to apply this
>> change to Beam repo.
>>
>> I also found that the command to run SQL shell binary is also broken so
>> sending another PR to update SQL shell doc:
>> https://github.com/apache/beam/pull/9021
>>
>>
>> -Rui
>> 
>>
>>
>>
>> On Mon, Jul 8, 2019 at 8:15 PM Thomas K.  wrote:
>>
>>> Hi,
>>>
>>> Thanks for the advice. I made a fresh clone from master and also removed
>>> the configuration: shadow line from the build.gradle file. However. I'm
>>> still getting the same error message.
>>>
>>> A bit more about my env : I'm running Gradle 5.4.1 and Java 8 on Windows.
>>>
>>> Any thoughts?
>>>
>>> On Tue, Jul 9, 2019 at 1:44 AM Rui Wang  wrote:
>>>
 Indeed it's broken on shadow configuration.  I found that if removing
 configuration: "shadow" from [1], this command will pass.


 [1]:
 https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/shell/build.gradle#L31

 On Mon, Jul 8, 2019 at 1:10 PM Kyle Weaver  wrote:

> Hi Thomas,
>
> You probably need to make sure your clone of the Beam repo is up to
> date. Also, it looks like there's another bug so I filed a Jira:
> https://issues.apache.org/jira/browse/BEAM-7708
>
> Thanks,
> Kyle
>
> Kyle Weaver | Software Engineer | github.com/ibzib |
> kcwea...@google.com | +1650203
>
>
> On Mon, Jul 8, 2019 at 11:59 AM Thomas K. 
> wrote:
>
>> Hi,
>>
>> I'm following the instructions on this page -
>>
>> https://beam.apache.org/documentation/dsls/sql/shell/
>>
>> and running the following command
>>
>> gradlew -p sdks/java/extensions/sql/shell 
>> -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' 
>> installDist
>>
>>
>>
>>
>>
>> However, it fails with the error:
>> A problem occurred evaluating project
>> ':sdks:java:extensions:sql:shell'.
>> > Project with path '':runners:flink:1.5' could not be found in
>> project ':sdks:java:extensions:sql:shell'.
>>
>>
>>
>> How do I get it to  recognize all the extensions so that I can run
>> the SQL shell?
>>
>> Thanks.
>>
>>


Re: Unable to start BEAM sql shell

2019-07-09 Thread Kyle Weaver
I would also make sure that you are running the command from the root of
the repo.

Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com |
+1650203


On Tue, Jul 9, 2019 at 10:29 AM Rui Wang  wrote:

> By applying the change above on a fresh clone from master, the command to
> bundle SQL shell can pass on my mac. My Gradle is also 5.4.1 and it's Java
> 8. A PR  was cut to apply this
> change to Beam repo.
>
> I also found that the command to run SQL shell binary is also broken so
> sending another PR to update SQL shell doc:
> https://github.com/apache/beam/pull/9021
>
>
> -Rui
> 
>
>
>
> On Mon, Jul 8, 2019 at 8:15 PM Thomas K.  wrote:
>
>> Hi,
>>
>> Thanks for the advice. I made a fresh clone from master and also removed
>> the configuration: shadow line from the build.gradle file. However. I'm
>> still getting the same error message.
>>
>> A bit more about my env : I'm running Gradle 5.4.1 and Java 8 on Windows.
>>
>> Any thoughts?
>>
>> On Tue, Jul 9, 2019 at 1:44 AM Rui Wang  wrote:
>>
>>> Indeed it's broken on shadow configuration.  I found that if removing
>>> configuration: "shadow" from [1], this command will pass.
>>>
>>>
>>> [1]:
>>> https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/shell/build.gradle#L31
>>>
>>> On Mon, Jul 8, 2019 at 1:10 PM Kyle Weaver  wrote:
>>>
 Hi Thomas,

 You probably need to make sure your clone of the Beam repo is up to
 date. Also, it looks like there's another bug so I filed a Jira:
 https://issues.apache.org/jira/browse/BEAM-7708

 Thanks,
 Kyle

 Kyle Weaver | Software Engineer | github.com/ibzib |
 kcwea...@google.com | +1650203


 On Mon, Jul 8, 2019 at 11:59 AM Thomas K. 
 wrote:

> Hi,
>
> I'm following the instructions on this page -
>
> https://beam.apache.org/documentation/dsls/sql/shell/
>
> and running the following command
>
> gradlew -p sdks/java/extensions/sql/shell 
> -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' 
> installDist
>
>
>
>
>
> However, it fails with the error:
> A problem occurred evaluating project
> ':sdks:java:extensions:sql:shell'.
> > Project with path '':runners:flink:1.5' could not be found in
> project ':sdks:java:extensions:sql:shell'.
>
>
>
> How do I get it to  recognize all the extensions so that I can run the
> SQL shell?
>
> Thanks.
>
>


Re: Unable to start BEAM sql shell

2019-07-09 Thread Rui Wang
By applying the change above on a fresh clone from master, the command to
bundle SQL shell can pass on my mac. My Gradle is also 5.4.1 and it's Java
8. A PR  was cut to apply this
change to Beam repo.

I also found that the command to run SQL shell binary is also broken so
sending another PR to update SQL shell doc:
https://github.com/apache/beam/pull/9021


-Rui




On Mon, Jul 8, 2019 at 8:15 PM Thomas K.  wrote:

> Hi,
>
> Thanks for the advice. I made a fresh clone from master and also removed
> the configuration: shadow line from the build.gradle file. However. I'm
> still getting the same error message.
>
> A bit more about my env : I'm running Gradle 5.4.1 and Java 8 on Windows.
>
> Any thoughts?
>
> On Tue, Jul 9, 2019 at 1:44 AM Rui Wang  wrote:
>
>> Indeed it's broken on shadow configuration.  I found that if removing
>> configuration: "shadow" from [1], this command will pass.
>>
>>
>> [1]:
>> https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/shell/build.gradle#L31
>>
>> On Mon, Jul 8, 2019 at 1:10 PM Kyle Weaver  wrote:
>>
>>> Hi Thomas,
>>>
>>> You probably need to make sure your clone of the Beam repo is up to
>>> date. Also, it looks like there's another bug so I filed a Jira:
>>> https://issues.apache.org/jira/browse/BEAM-7708
>>>
>>> Thanks,
>>> Kyle
>>>
>>> Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com
>>> | +1650203
>>>
>>>
>>> On Mon, Jul 8, 2019 at 11:59 AM Thomas K.  wrote:
>>>
 Hi,

 I'm following the instructions on this page -

 https://beam.apache.org/documentation/dsls/sql/shell/

 and running the following command

 gradlew -p sdks/java/extensions/sql/shell 
 -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' 
 installDist





 However, it fails with the error:
 A problem occurred evaluating project ':sdks:java:extensions:sql:shell'.
 > Project with path '':runners:flink:1.5' could not be found in project
 ':sdks:java:extensions:sql:shell'.



 How do I get it to  recognize all the extensions so that I can run the
 SQL shell?

 Thanks.




Re: Unable to start BEAM sql shell

2019-07-08 Thread Thomas K.
Hi,

Thanks for the advice. I made a fresh clone from master and also removed
the configuration: shadow line from the build.gradle file. However. I'm
still getting the same error message.

A bit more about my env : I'm running Gradle 5.4.1 and Java 8 on Windows.

Any thoughts?

On Tue, Jul 9, 2019 at 1:44 AM Rui Wang  wrote:

> Indeed it's broken on shadow configuration.  I found that if removing
> configuration: "shadow" from [1], this command will pass.
>
>
> [1]:
> https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/shell/build.gradle#L31
>
> On Mon, Jul 8, 2019 at 1:10 PM Kyle Weaver  wrote:
>
>> Hi Thomas,
>>
>> You probably need to make sure your clone of the Beam repo is up to date.
>> Also, it looks like there's another bug so I filed a Jira:
>> https://issues.apache.org/jira/browse/BEAM-7708
>>
>> Thanks,
>> Kyle
>>
>> Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com
>> | +1650203
>>
>>
>> On Mon, Jul 8, 2019 at 11:59 AM Thomas K.  wrote:
>>
>>> Hi,
>>>
>>> I'm following the instructions on this page -
>>>
>>> https://beam.apache.org/documentation/dsls/sql/shell/
>>>
>>> and running the following command
>>>
>>> gradlew -p sdks/java/extensions/sql/shell 
>>> -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' 
>>> installDist
>>>
>>>
>>>
>>>
>>>
>>> However, it fails with the error:
>>> A problem occurred evaluating project ':sdks:java:extensions:sql:shell'.
>>> > Project with path '':runners:flink:1.5' could not be found in project
>>> ':sdks:java:extensions:sql:shell'.
>>>
>>>
>>>
>>> How do I get it to  recognize all the extensions so that I can run the
>>> SQL shell?
>>>
>>> Thanks.
>>>
>>>


Re: Unable to start BEAM sql shell

2019-07-08 Thread Rui Wang
Indeed it's broken on shadow configuration.  I found that if removing
configuration: "shadow" from [1], this command will pass.


[1]:
https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/shell/build.gradle#L31

On Mon, Jul 8, 2019 at 1:10 PM Kyle Weaver  wrote:

> Hi Thomas,
>
> You probably need to make sure your clone of the Beam repo is up to date.
> Also, it looks like there's another bug so I filed a Jira:
> https://issues.apache.org/jira/browse/BEAM-7708
>
> Thanks,
> Kyle
>
> Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com
> | +1650203
>
>
> On Mon, Jul 8, 2019 at 11:59 AM Thomas K.  wrote:
>
>> Hi,
>>
>> I'm following the instructions on this page -
>>
>> https://beam.apache.org/documentation/dsls/sql/shell/
>>
>> and running the following command
>>
>> gradlew -p sdks/java/extensions/sql/shell 
>> -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' installDist
>>
>>
>>
>>
>>
>> However, it fails with the error:
>> A problem occurred evaluating project ':sdks:java:extensions:sql:shell'.
>> > Project with path '':runners:flink:1.5' could not be found in project
>> ':sdks:java:extensions:sql:shell'.
>>
>>
>>
>> How do I get it to  recognize all the extensions so that I can run the
>> SQL shell?
>>
>> Thanks.
>>
>>


Re: Unable to start BEAM sql shell

2019-07-08 Thread Kyle Weaver
Hi Thomas,

You probably need to make sure your clone of the Beam repo is up to date.
Also, it looks like there's another bug so I filed a Jira:
https://issues.apache.org/jira/browse/BEAM-7708

Thanks,
Kyle

Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com |
+1650203


On Mon, Jul 8, 2019 at 11:59 AM Thomas K.  wrote:

> Hi,
>
> I'm following the instructions on this page -
>
> https://beam.apache.org/documentation/dsls/sql/shell/
>
> and running the following command
>
> gradlew -p sdks/java/extensions/sql/shell 
> -Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka' installDist
>
>
>
>
>
> However, it fails with the error:
> A problem occurred evaluating project ':sdks:java:extensions:sql:shell'.
> > Project with path '':runners:flink:1.5' could not be found in project
> ':sdks:java:extensions:sql:shell'.
>
>
>
> How do I get it to  recognize all the extensions so that I can run the SQL
> shell?
>
> Thanks.
>
>


Unable to start BEAM sql shell

2019-07-08 Thread Thomas K.
Hi,

I'm following the instructions on this page -

https://beam.apache.org/documentation/dsls/sql/shell/

and running the following command

gradlew -p sdks/java/extensions/sql/shell
-Pbeam.sql.shell.bundled=':runners:flink:1.5,:sdks:java:io:kafka'
installDist





However, it fails with the error:
A problem occurred evaluating project ':sdks:java:extensions:sql:shell'.
> Project with path '':runners:flink:1.5' could not be found in project
':sdks:java:extensions:sql:shell'.



How do I get it to  recognize all the extensions so that I can run the SQL
shell?

Thanks.