<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: value saveAsTextFile is not a member of Array[Array[String]] in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136370#M39728</link>
    <description>&lt;P&gt;I'm trying to return this:

val output = vertices.map(_.split(" ")).toArray&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2016 21:09:40 GMT</pubDate>
    <dc:creator>Stewart12586</dc:creator>
    <dc:date>2016-09-05T21:09:40Z</dc:date>
    <item>
      <title>value saveAsTextFile is not a member of Array[Array[String]]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136368#M39726</link>
      <description>I'm trying to save my Array in HDFS. For that I've this:

array.saveAsTextFile("PATH") 

but when I submit this I'm getting this error:

&lt;OL&gt;&lt;LI&gt;error: value saveAsTextFile is not a member of Array[Array[String]] 

Anyone knows how to solve this?

Many thanks!&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 05 Sep 2016 20:57:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136368#M39726</guid>
      <dc:creator>Stewart12586</dc:creator>
      <dc:date>2016-09-05T20:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: value saveAsTextFile is not a member of Array[Array[String]]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136369#M39727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the exact line of code you have? It let me think that you would like to save the content of your RDD/DF/DS but you are calling this method although you are not manipulating such an object anymore.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 21:06:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136369#M39727</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-05T21:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: value saveAsTextFile is not a member of Array[Array[String]]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136370#M39728</link>
      <description>&lt;P&gt;I'm trying to return this:

val output = vertices.map(_.split(" ")).toArray&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 21:09:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136370#M39728</guid>
      <dc:creator>Stewart12586</dc:creator>
      <dc:date>2016-09-05T21:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: value saveAsTextFile is not a member of Array[Array[String]]</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136371#M39729</link>
      <description>&lt;P&gt;Then I'd try the following:&lt;/P&gt;&lt;PRE&gt;vertices.map(_.split(" ")).saveAsTextFile("my/hdfs/path/directory")
&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Sep 2016 21:11:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/value-saveAsTextFile-is-not-a-member-of-Array-Array-String/m-p/136371#M39729</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-05T21:11:56Z</dc:date>
    </item>
  </channel>
</rss>

