Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Unable to parse sas files using parso libraries.

avatar
Explorer

I was successfully able to parse the sas files using the parso lib if the files are present in the local or HDFs. if it is from cloud storage unable to parse the files. getting following exception.

<code>

ERROR SFP: Failed to read page from file 17/06/13 12:03:29 INFO SRR: Bitness: x86

</code>

1 ACCEPTED SOLUTION

avatar
Expert Contributor

It seems to be an issue with the SasParser file. Could you please check if you have the latest SasFileParser lib.

Please find below my SBT confiig

libraryDependencies ++= Seq(
  "com.databricks" % "spark-csv_2.11" % "1.5.0",
  "org.slf4j" % "slf4j-api" % "1.7.5"
)

View solution in original post

6 REPLIES 6

avatar
Expert Contributor

what is your cloudstorage- wasb should be an issue

avatar
Explorer

this is not wasb - we are using s3 for the storage.

avatar
Expert Contributor

Can you try with S3a instead of S3n and post the outcome here ?

avatar
Explorer

Nope. now the parsing error is gone. But it is not reading anything from s3. empty Data frame

avatar
Expert Contributor

It seems to be an issue with the SasParser file. Could you please check if you have the latest SasFileParser lib.

Please find below my SBT confiig

libraryDependencies ++= Seq(
  "com.databricks" % "spark-csv_2.11" % "1.5.0",
  "org.slf4j" % "slf4j-api" % "1.7.5"
)

avatar
Explorer