Comments (7)
HDFS is unusable as a MergeTree disk with the current Clickhouse implementation
from clickhouse.
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.
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.
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.
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.
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.
- how do you run Clickhouse-server?
- check
sudo -u server-user 'mkdir /home/server-user/cold-storage/test'
- what is this
/cold-storage/
sortof USB disk? what filesystem does it have?
from clickhouse.
Related Issues (20)
- Null pointer in DB::MarksInCompressedFile::get in 24.2.3.70 HOT 1
- AMBIGUOUS_COLUMN_NAME when reading from MV with mismatching schema
- ClickHouse >= 24.4 rejects certain valid queries that were previously accepted HOT 2
- formatDateTimeInJodaSyntax result error HOT 1
- MaterializedPostgreSQL replication does not work with upper case letters in database name HOT 5
- Dynamic "order by" in parameterized view HOT 1
- Interpolate + remote + new analyzer => Unknown expression identifier
- Write to index uncompressed cache HOT 1
- CANNOT_PARSE_INPUT_ASSERTION_FAILED with Vector timestamp fields HOT 2
- Map + float64 as a key, ILLEGAL_TYPE_OF_ARGUMENT when query an element by key HOT 3
- CgroupsMemoryUsageObserver pessimizes current memory usage HOT 1
- [RFC] Randomly wrap table expressions into `remote` table function in stateless tests HOT 1
- ACL qestion HOT 8
- Create materialized view from AggregatingMergeTree table HOT 3
- Issue with `version_helper.py` and `changelog.py` after a new releasing scheme HOT 2
- Lots of `HTTPSessionPool: No free connections in pool. Waiting 1000 ms.` when using S3 disks HOT 1
- ANN usearch HOT 1
- Further improvements for working with archives in object storages
- Include client's IP into auth error messages in logs
- HTTP external authenticator not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse.