ZacBlanco / hwx-tutorials

1 stars 2 forks source link

Hello HDP - Update Spark command for Compatibility #72

Closed ZacBlanco closed 8 years ago

ZacBlanco commented 8 years ago

There's a command listed in section 7 (Spark Section) of Hello HDP. The command no longer works due to it being outdated.

risk_factor_spark.saveAsOrcFile("risk_factor_spark")

Should be changed to

risk_factor_spark.write.orc("risk_factor_spark")
ZacBlanco commented 8 years ago

Fixed with commit b856bc84989b1f5ab2252d89b9ab4b5a70f66ee6