[ 
https://issues.apache.org/jira/browse/PHOENIX-8048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Kyle Purtell updated PHOENIX-8048:
-----------------------------------------
    Description: 
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}} distributes {{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{}}}.

  was:
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}} distributes {{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{}}}.


> 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
>            Priority: Minor
>             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}} distributes {{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