Andrew Kyle Purtell created PHOENIX-8048:
--------------------------------------------

             Summary: Ship commons-io with bulk load jobs
                 Key: PHOENIX-8048
                 URL: https://issues.apache.org/jira/browse/PHOENIX-8048
             Project: Phoenix
          Issue Type: Bug
          Components: core
    Affects Versions: 5.3.2
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell
             Fix For: 5.4.0, 5.3.3


Phoenix's CSV bulk loader requires {{commons-io}} 2.17+ for 
{{{}UnsynchronizedBufferedReader{}}}, but Hadoop 3.4 only provides version 2.16.

Thin-client jobs fail with a {{ClassNotFoundException}} on YARN because 
{{addPhoenixDependencyJars}} distributed {{commons-csv}} without packaging a 
compatible {{commons-io}} dependency into {{tmpjars}} .

Shaded clients are unaffected due to class relocation.

To fix this, {{addPhoenixDependencyJars}} must bundle {{{}commons-io{}}}.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to