Giter VIP home page Giter VIP logo

Comments (7)

den-crane avatar den-crane commented on June 20, 2024

HDFS is unusable as a MergeTree disk with the current Clickhouse implementation

from clickhouse.

avj-vaibhav avatar avj-vaibhav commented on June 20, 2024

Hey @den-crane,
Thank you for the quick response.

After reviewing the mentioned issue, it seems ClickHouse doesn't support HDFS. Is it possible to use a mounted or external disk for 'cold' storage instead?

Any references or documentation on this would be greatly appreciated.
Thank you!

from clickhouse.

den-crane avatar den-crane commented on June 20, 2024

it seems ClickHouse doesn't support HDFS.

right.

Is it possible to use a mounted or external disk for 'cold' storage instead?

HDFS as an mounted/external disk? Never heard about such technology, I doubt it will work.

from clickhouse.

avj-vaibhav avatar avj-vaibhav commented on June 20, 2024

Hey @den-crane

No not HDFS as mounted disk.
Can i just use any storage disk like HDD or SSD as cold storage, which is mounted to the Clickhouse server machine ?

Thank you!

from clickhouse.

den-crane avatar den-crane commented on June 20, 2024

Can i just use any storage disk like HDD or SSD as cold storage, which is mounted to the Clickhouse server machine ?

Yes, you can.

from clickhouse.

avj-vaibhav avatar avj-vaibhav commented on June 20, 2024

Hey @den-crane,

I'm trying to use an external disk mounted to the ClickHouse server machine for cold storage, but I'm encountering the following error:

<Error> Application: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in posix_stat: failed to determine attributes for the specified path: Permission denied [/home/server-user/cold-storage/]

I have verified that the specified path /home/server-user/cold-storage/ has the correct permissions set for server-user. However, when ClickHouse attempts to write data to this path, it throws the above error.

Additional Information:

  • The path does not have root permissions, it is owned by server-user.
  • I have come across several issues suggesting downgrading ClickHouse to version 22.x.x as a potential solution.

Could you please advise on the best approach to resolve this issue? Is downgrading ClickHouse a viable solution, or is there another recommended method to address this permission error?

Thank you!

from clickhouse.

den-crane avatar den-crane commented on June 20, 2024

@avj-vaibhav

  1. how do you run Clickhouse-server?
  2. check sudo -u server-user 'mkdir /home/server-user/cold-storage/test'
  3. what is this /cold-storage/ sortof USB disk? what filesystem does it have?

from clickhouse.

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.