Hi Kris - This would be news to me. I'll need to try and reproduce it but I don't actually think it will reproduce. I know that we have HA tests that require HDFS specific HA protocol knowledge.
I'll let you know. thanks, --larry On Wed, Aug 1, 2018 at 4:21 PM, Kristopher.Kane <kristopher.k...@target.com> wrote: > Hi Gatekeepers. > > I'm on Knox 0.12 on HDP 2.5.3 and think I've found a bug with WebHDFS > handling of 'FileAlreadyExists' exceptions. > > Whilst working on a fix in WebHdfsHaDispatch, I realized that this > dispatch is not used and DefaultHaDispatch is used based on some logging I > added > > The `data/services/webhdfs/2.4.0->service.xml` has: > > <dispatch > classname="org.apache.hadoop.gateway.hdfs.dispatch.HdfsHttpClientDispatch" > ha-classname="org.apache.hadoop.gateway.hdfs.dispatch.WebHdfsHaDispatch"/> > > How is DefaultHaDispatch selected? The changes I need to make are context > isolated to WebHDFS. > > Thanks, > > Kris >