![]() ![]() We hope this helps you look at the inputs and outputs of MapReduce jobs, Hive queries, and Pig scripts. HOW TO: Create Hive table in Parquet format with snappy compression to use as source/target in Data Quality 9.6. PopupException: Failed to read Avro file. Raise PopupException(_("Failed to read Avro file.")) Read_contents(compression, path, request.fs, offset, length)įile "/usr/lib//lib/hue/apps/filebrowser/src/filebrowser/views.py", line 663, in read_contentsĬontents = _read_avro(fhandle, path, offset, length, stats)įile "/usr/lib//lib/hue/apps/filebrowser/src/filebrowser/views.py", line 716, in _read_avro format set to one of orc/parquet/avro/rcfile/sequencefile nz.fq.compress keep empty nz.fq.pressed (optional) set to compression supported by a. Response = callback(request, \*callback_args, \**callback_kwargs)įile "/usr/lib//lib/hue/apps/filebrowser/src/filebrowser/views.py", line 168, in viewįile "/usr/lib//lib/hue/apps/filebrowser/src/filebrowser/views.py", line 573, in display ![]() middleware INFO Processing exception: Failed to read Avro file.: Traceback (most recent call last):įile "/usr/lib//lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py", line 111, in get_response Raise DataFileException('Unknown codec: %s.' % dec)ĭataFileException: Unknown codec: snappy. When reading files in these formats, Data Factory detects and uses the compression codec in the metadata. Compression settings are not supported for data in the AvroFormat, OrcFormat, or ParquetFormat. Compression settings are not currently supported for AvroFormat data. views WARNING Could not read avro file at //user/cconner/test_snappy.avroįile "/usr/lib//lib/hue/apps/filebrowser/src/filebrowser/views.py", line 701, in _read_avroĭata_file_reader = datafile.DataFileReader(fhandle, io.DatumReader())įile "/usr/lib//lib/hue/build/env/lib/python2.6/site-packages/avro-1.7.6-py2.6.egg/avro/datafile.py", line 240, in _init_ As it is stated in the official documents. It turns out that python-snappy is not compatible with the python library called snappy. Note: In this demo, we are using Avro files found in this github (1).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |