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

make adamLoad public #688

Merged
merged 1 commit into from
Jun 2, 2015
Merged

Conversation

ryan-williams
Copy link
Member

fixes #687

@@ -126,7 +126,7 @@ class ADAMContext(val sc: SparkContext) extends Serializable with Logging {
* @tparam T The type of records to return
* @return An RDD with records of the specified type
*/
private[rdd] def adamLoad[T](filePath: String, predicate: Option[FilterPredicate] = None, projection: Option[Schema] = None)(implicit ev1: T => SpecificRecord, ev2: Manifest[T]): RDD[T] = {
def adamLoad[T](filePath: String, predicate: Option[FilterPredicate] = None, projection: Option[Schema] = None)(implicit ev1: T => SpecificRecord, ev2: Manifest[T]): RDD[T] = {
Copy link
Member

Choose a reason for hiding this comment

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

Howabouts we rename this function from adamLoad to loadParquet?

@fnothaft
Copy link
Member

Looks good! I think we made it package private under the assumption that you'd use loadParquet* where * = one of Alignments, Features, etc.

@fnothaft fnothaft closed this May 31, 2015
@fnothaft
Copy link
Member

Sorry, accidentally closed this!

@fnothaft fnothaft reopened this May 31, 2015
@fnothaft
Copy link
Member

Sorry, accidentally closed this!

@ryan-williams
Copy link
Member Author

@fnothaft any idea what's causing these build failures? The last two failed builds here both had errors like:

2015-05-31 08:09:05 ERROR MetricsSystem:96 - Sink class org.apache.spark.metrics.sink.MetricsServlet cannot be instantialized
java.lang.reflect.InvocationTargetException

This last time it was just scala 2.10 x hadoop 1.0.4, whereas previously it was all 2.10 builds

@fnothaft fnothaft added this to the 0.17.0 milestone Jun 1, 2015
  fixes bigdatagenomics#687

- remove out-of-date @param scaladocs
@ryan-williams
Copy link
Member Author

rebased and squashed

fnothaft added a commit that referenced this pull request Jun 2, 2015
@fnothaft fnothaft merged commit 1e54369 into bigdatagenomics:master Jun 2, 2015
@fnothaft
Copy link
Member

fnothaft commented Jun 2, 2015

Merged! Thanks @ryan-williams!

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.

Make adamLoad public again
2 participants