Hue failed to read avro file

In this post i am going to show " How to fix Hue: failed to read avro file"

To read snappy compressed avro files, you need to install snappy system packages. Follow below steps to install

  1. Make sure Hue is stopped before installing.
  2. Install the snappy system packages on your system. They can either be downloaded from http://google.github.io/snappy/ or, preferably, installed via your package management system (e.g. yum install snappy-devel)
  3. Install the python-snappy package via ‘pip’ from the Hue home (cd /usr/lib/hue or /opt/cloudera/parcels/CDH/lib/hue)
yum install gcc gcc-c++ python-devel snappy-devel

cd /opt/cloudera/parcels/CDH/lib/hue

build/env/bin/pip install -U setuptools


build/env/bin/pip install python-snappy



4. Start Hue
Previous
Next Post »