Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Should be able to do something similar to what we do for HDFS encryption.
TestErasureCodingHDFSCliDriver uses a test-only CommandProcessor "ErasureProcessor"
which allows .q files to contain Erasure Coding commands similar to those provided
by the hdfs ec command
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HDFSErasureCoding.html.
The Erasure Coding functionality is exposed through a new shim "HdfsFileErasureCodingPolicy".
At this stage there are two .q files:
erasure_commnds.q (a simple test to show ERASURE commands can run on local fs via
TestCliDriver or on hdfs via TestErasureCodingHDFSCliDriver), and
erasure_simple.q (which does some trivial queries to demonstrate basic functionality).
More tests will come in future commits.
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-17776 Add CliDriver and tests for HDFS with Erasure Coding enabled
- Resolved