Hi PK,
This is being fixed in the next release of HDP 2.2 (2.2.1) which should be available mid – end March.
For now, the workaround would be to point Hue at your Active NameNode.
If you require hadoop-httpfs then I can provide some instructions for getting this fixed, however we are uncertain how this will effect future versions on upgrade.
Thanks
Dave