Coder Social home page Coder Social logo

Comments (5)

Kimahriman avatar Kimahriman commented on July 1, 2024 1

Also, could you please help me understand why the msync check is done, if the error is eventually silenced.

It's for newer HDFS clusters that use Observer NameNodes. The Java client does an msync on startup so that it knows what the latest transaction ID in a cluster is. It makes sure the first read for a new client is never stale. I need to rework some of the handling for Observer NameNodes still, but wanted to keep that in there for now (my team uses observer nodes)

from hdfs-native.

Kimahriman avatar Kimahriman commented on July 1, 2024

I eagerly do an msync which is a newer hdfs thing. I catch if it's not supported but not if the method doesn't exist for older hdfs versions. In general I'm not trying to be compatible with older hdfs versions (2.6 is very old), but this one I can add a check for and just ignore the failure

from hdfs-native.

shbhmrzd avatar shbhmrzd commented on July 1, 2024

Thank you so much!
I have added method not found in the ignore list as well.
Please take a look at the change request - #55

Also, could you please help me understand why the msync check is done, if the error is eventually silenced.

from hdfs-native.

shbhmrzd avatar shbhmrzd commented on July 1, 2024

Thank you!
It does not fail anymore.

But the run gets stuck. Have you seen this issue before or can think of any possible cause?

from hdfs-native.

shbhmrzd avatar shbhmrzd commented on July 1, 2024

Found the issue, list_status is passed recursive true which leads to this(there are multiple sub dirs). Worked fine with false.
Thank you!

from hdfs-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.