Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5227

Cannot get avro schema! Input path hdfs://### might be empty.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I was trying to load an empty avro folder using the this command,

      records = LOAD 'examples/input/'
      USING org.apache.pig.piggybank.storage.avro.AvroStorage(
      'no_schema_check',
      'schema_file', 'hdfs://namenode01:8020/schema/twitter.avsc');

      even after i mentioned "no_schema_check" it is still looking for schema and throwing an error saying "Cannot get avro schema! Input path might be empty"

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmwer253 bmwer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: