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

Abou Haydar Elias commented on SPARK-13646:
-------------------------------------------

I'm trying to run the ./dev/run-test but it is blocking me with the following :

Traceback (most recent call last): 
File "./dev/run-tests.py", line 587, in <module> 
main() 
File "./dev/run-tests.py", line 489, in main 
run_cmd([os.path.join(SPARK_HOME, "R", "install-dev.sh")]) 
File 
"/media/eliasah/Transcend/github/eliasah/spark/dev/sparktestsupport/shellutils.py",
 line 84, in run_cmd 
return subprocess_check_call(cmd) 
File "/usr/lib/python2.7/subprocess.py", line 535, in check_call 
retcode = call(*popenargs, **kwargs) 
File "/usr/lib/python2.7/subprocess.py", line 522, in call 
return Popen(*popenargs, **kwargs).wait() 
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ 
errread, errwrite) 
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child 
raise child_exception 
OSError: [Errno 13] Permission denied

> QuantileDiscretizer counts dataset twice in getSampledInput
> -----------------------------------------------------------
>
>                 Key: SPARK-13646
>                 URL: https://issues.apache.org/jira/browse/SPARK-13646
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>    Affects Versions: 1.6.0
>            Reporter: Abou Haydar Elias
>            Priority: Trivial
>              Labels: patch, performance
>
> getSampledInput counts the dataset twice as you see 
> [here](https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/feature/QuantileDiscretizer.scala#L116)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to