You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Yu Ishikawa <yu...@gmail.com> on 2015/07/27 15:29:06 UTC
Is `dev/lint-python` broken?
Hi all,
When I run `dev/lint-python` at the latest master branch, I got an error
message as follows.
Is the lint script broken? Or is there any problems with my environment?
```
$> ./dev/lint-python
./dev/lint-python: line 64: syntax error near unexpected token `>'
./dev/lint-python: line 64: ` easy_install -d "$PYLINT_HOME"
pylint==1.4.4 &>> "$PYLINT_INSTALL_INFO"'
```
If the redirect is a syntax error, I'll send a PR to fix.
Thanks,
Yu
-----
-- Yu Ishikawa
--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org
Re: Is `dev/lint-python` broken?
Posted by Pedro Rodriguez <sk...@gmail.com>.
Should there be any delay in Jenkins using that? I rebased/pushed code to
most recent master after the hotfix commit (and double checked just now),
but the build still fails.
On Mon, Jul 27, 2015 at 1:11 PM, Reynold Xin <rx...@databricks.com> wrote:
> I just pushed a hotfix to disable Pylint.
>
>
> On Mon, Jul 27, 2015 at 1:09 PM, Pedro Rodriguez <sk...@gmail.com>
> wrote:
>
>> I am having the same issue, but the python style checks are failing on
>> the Jenkins build server. Is anyone else having this problem? Failed build
>> is here:
>> https://amplab.cs.berkeley.edu/jenkins/job/SlowSparkPullRequestBuilder/121/console
>>
>> Pedro Rodriguez
>>
>> On Mon, Jul 27, 2015 at 7:10 AM, Yu Ishikawa <
>> yuu.ishikawa+spark@gmail.com> wrote:
>>
>>> I'm using 10.10.4. And Xcode is version 6.4. Maybe, it isn't old.
>>> I guess the old bash version causes the problem. I'll try to install
>>> another
>>> bash with brew.
>>>
>>>
>>>
>>>
>>> -----
>>> -- Yu Ishikawa
>>> --
>>> View this message in context:
>>> http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13443.html
>>> Sent from the Apache Spark Developers List mailing list archive at
>>> Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
>>> For additional commands, e-mail: dev-help@spark.apache.org
>>>
>>>
>>
>>
>> --
>> Pedro Rodriguez
>> UCBerkeley 2014 | Computer Science
>> SnowGeek <http://SnowGeek.org>
>> pedro-rodriguez.com
>> ski.rodriguez@gmail.com
>> 208-340-1703
>>
>
>
--
Pedro Rodriguez
UCBerkeley 2014 | Computer Science
SnowGeek <http://SnowGeek.org>
pedro-rodriguez.com
ski.rodriguez@gmail.com
208-340-1703
Re: Is `dev/lint-python` broken?
Posted by Reynold Xin <rx...@databricks.com>.
I just pushed a hotfix to disable Pylint.
On Mon, Jul 27, 2015 at 1:09 PM, Pedro Rodriguez <sk...@gmail.com>
wrote:
> I am having the same issue, but the python style checks are failing on the
> Jenkins build server. Is anyone else having this problem? Failed build is
> here:
> https://amplab.cs.berkeley.edu/jenkins/job/SlowSparkPullRequestBuilder/121/console
>
> Pedro Rodriguez
>
> On Mon, Jul 27, 2015 at 7:10 AM, Yu Ishikawa <yuu.ishikawa+spark@gmail.com
> > wrote:
>
>> I'm using 10.10.4. And Xcode is version 6.4. Maybe, it isn't old.
>> I guess the old bash version causes the problem. I'll try to install
>> another
>> bash with brew.
>>
>>
>>
>>
>> -----
>> -- Yu Ishikawa
>> --
>> View this message in context:
>> http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13443.html
>> Sent from the Apache Spark Developers List mailing list archive at
>> Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
>> For additional commands, e-mail: dev-help@spark.apache.org
>>
>>
>
>
> --
> Pedro Rodriguez
> UCBerkeley 2014 | Computer Science
> SnowGeek <http://SnowGeek.org>
> pedro-rodriguez.com
> ski.rodriguez@gmail.com
> 208-340-1703
>
Re: Is `dev/lint-python` broken?
Posted by Pedro Rodriguez <sk...@gmail.com>.
I am having the same issue, but the python style checks are failing on the
Jenkins build server. Is anyone else having this problem? Failed build is
here:
https://amplab.cs.berkeley.edu/jenkins/job/SlowSparkPullRequestBuilder/121/console
Pedro Rodriguez
On Mon, Jul 27, 2015 at 7:10 AM, Yu Ishikawa <yu...@gmail.com>
wrote:
> I'm using 10.10.4. And Xcode is version 6.4. Maybe, it isn't old.
> I guess the old bash version causes the problem. I'll try to install
> another
> bash with brew.
>
>
>
>
> -----
> -- Yu Ishikawa
> --
> View this message in context:
> http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13443.html
> Sent from the Apache Spark Developers List mailing list archive at
> Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
> For additional commands, e-mail: dev-help@spark.apache.org
>
>
--
Pedro Rodriguez
UCBerkeley 2014 | Computer Science
SnowGeek <http://SnowGeek.org>
pedro-rodriguez.com
ski.rodriguez@gmail.com
208-340-1703
Re: Is `dev/lint-python` broken?
Posted by Yu Ishikawa <yu...@gmail.com>.
I'm using 10.10.4. And Xcode is version 6.4. Maybe, it isn't old.
I guess the old bash version causes the problem. I'll try to install another
bash with brew.
-----
-- Yu Ishikawa
--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13443.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org
Re: Is `dev/lint-python` broken?
Posted by Sean Owen <so...@cloudera.com>.
I'm on 4.3.39, though that is probably newer than what comes with Macs
in general as I use brew to get newer versions of lots of things (this
may be a good option for you in general if you're a developer). What
OS X are you on -- is it also old? or is this likely to be a more
widespread problem?
On Mon, Jul 27, 2015 at 2:50 PM, Yu Ishikawa
<yu...@gmail.com> wrote:
> Hi Sean,
>
> Thank you for answering my question.
> It seems that I used an old version bash which is the default Mac bash.
>
> ```
> $> bash --version
> GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
> Copyright (C) 2007 Free Software Foundation, Inc.
> share_history
> ```
>
> Thanks,
> Yu
>
>
>
> -----
> -- Yu Ishikawa
> --
> View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13441.html
> Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
> For additional commands, e-mail: dev-help@spark.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org
Re: Is `dev/lint-python` broken?
Posted by Yu Ishikawa <yu...@gmail.com>.
Hi Sean,
Thank you for answering my question.
It seems that I used an old version bash which is the default Mac bash.
```
$> bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.
share_history
```
Thanks,
Yu
-----
-- Yu Ishikawa
--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439p13441.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org
Re: Is `dev/lint-python` broken?
Posted by Sean Owen <so...@cloudera.com>.
I do not see any problem like that on master. The syntax looks valid.
Do you have an old version bash?
On Mon, Jul 27, 2015 at 2:29 PM, Yu Ishikawa
<yu...@gmail.com> wrote:
> Hi all,
>
> When I run `dev/lint-python` at the latest master branch, I got an error
> message as follows.
> Is the lint script broken? Or is there any problems with my environment?
>
> ```
> $> ./dev/lint-python
> ./dev/lint-python: line 64: syntax error near unexpected token `>'
> ./dev/lint-python: line 64: ` easy_install -d "$PYLINT_HOME"
> pylint==1.4.4 &>> "$PYLINT_INSTALL_INFO"'
> ```
>
> If the redirect is a syntax error, I'll send a PR to fix.
>
> Thanks,
> Yu
>
>
>
> -----
> -- Yu Ishikawa
> --
> View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/Is-dev-lint-python-broken-tp13439.html
> Sent from the Apache Spark Developers List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
> For additional commands, e-mail: dev-help@spark.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org