Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-11787][SPARK-11883] [SQL] [FOLLOW-UP] Cleanup for this patch. #9845

Closed
wants to merge 4 commits into from

Conversation

nongli
Copy link
Contributor

@nongli nongli commented Nov 19, 2015

This mainly moves SqlNewHadoopRDD to the sql package. There is some state that is
shared between core and I've left that in core. This allows some other associated
minor cleanup.

This mainly moves SqlNewHadoopRDD to the sql package. There is some state that is
shared between core and I've left that in core. This allows some other associated
minor cleanup.
* Note: This is RDD is basically a cloned version of [[org.apache.spark.rdd.NewHadoopRDD]] with
* changes based on [[org.apache.spark.rdd.HadoopRDD]].
*/
* An RDD that provides core functionality for reading data stored in Hadoop (e.g., files in HDFS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two things...

  1. you should use intellij simple paste (right click and then "simple paste") to avoid intellij auto formatting the code.
  2. update your intellij setting so it doesn't use scaladoc format, but use javadoc. in "preferences -> editor -> code style -> scala -> spaces tab -> Other -> uncheck "Use formatting for ScalaDoc2 options"

@nongli nongli changed the title [SPARK-11787] [SQL] [FOLLOW-UP] Clean for this patch. [SPARK-11787] [SQL] [FOLLOW-UP] Cleanup for this patch. Nov 19, 2015
@yhuai
Copy link
Contributor

yhuai commented Nov 20, 2015

test this please

@SparkQA
Copy link

SparkQA commented Nov 20, 2015

Test build #46353 has finished for PR 9845 at commit cb3acbe.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yhuai
Copy link
Contributor

yhuai commented Nov 20, 2015

Seems there are a few legitimate failures.

@transient private val initDriverSideJobFuncOpt: Option[Job => Unit],
initLocalJobFuncOpt: Option[Job => Unit],
inputFormatClass: Class[_ <: InputFormat[Void, V]],
valueClass: Class[V])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent args 4 spaces.

@davies
Copy link
Contributor

davies commented Nov 20, 2015

Could you put SPARK-11883 in the title?

@nongli nongli changed the title [SPARK-11787] [SQL] [FOLLOW-UP] Cleanup for this patch. [SPARK-11787][SPARK-11883] [SQL] [FOLLOW-UP] Cleanup for this patch. Nov 20, 2015
@yhuai
Copy link
Contributor

yhuai commented Nov 20, 2015

test this please

@yhuai
Copy link
Contributor

yhuai commented Nov 20, 2015

Run 46432 looks slow.

@SparkQA
Copy link

SparkQA commented Nov 20, 2015

Test build #46432 has finished for PR 9845 at commit b7b319c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Nov 20, 2015

Thanks - I'm merging this.

asfgit pushed a commit that referenced this pull request Nov 20, 2015
This mainly moves SqlNewHadoopRDD to the sql package. There is some state that is
shared between core and I've left that in core. This allows some other associated
minor cleanup.

Author: Nong Li <nong@databricks.com>

Closes #9845 from nongli/spark-11787.

(cherry picked from commit 58b4e4f)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 58b4e4f Nov 20, 2015
@SparkQA
Copy link

SparkQA commented Nov 21, 2015

Test build #46450 has finished for PR 9845 at commit b7b319c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@nongli nongli deleted the spark-11787 branch November 22, 2015 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants