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 |
+16502035555


On Tue, Jul 9, 2019 at 10:29 AM Rui Wang <ruw...@google.com> 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 <https://github.com/apache/beam/pull/9012> 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
> <https://github.com/apache/beam/pull/9012>
>
>
>
> On Mon, Jul 8, 2019 at 8:15 PM Thomas K. <madmalud...@gmail.com> 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 <ruw...@google.com> 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 <kcwea...@google.com> 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 | +16502035555
>>>>
>>>>
>>>> On Mon, Jul 8, 2019 at 11:59 AM Thomas K. <madmalud...@gmail.com>
>>>> 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.
>>>>>
>>>>>

Reply via email to