What happens when two users try to access to the same file in HDFS?
Answer / Navneet Kumar Verma
In HDFS, only one user can write to a file at any given time. If two users attempt to write to the same file simultaneously, the second user will receive an error. However, multiple users can read from the same file concurrently without any issues.
| Is This Answer Correct ? | 0 Yes | 0 No |
Who divides the file into Block while storing inside hdfs in hadoop?
What are file permissions in HDFS? how does HDFS check permissions for files/directory?
How can one copy a file into HDFS with a different block size to that of existing block size configuration?
How one can change Replication factor when Data is already stored in HDFS
How data or file is read in HDFS?
Why is Reading done in parallel and writing is not in HDFS?
How to perform the inter-cluster data copying work in HDFS?
What is hdfs in big data?
Explain the process that overwrites the replication factors in HDFS?
How HDFS helps NameNode in scaling in Hadoop?
Explain HDFS “Write once Read many” pattern?
If the source data gets updated every now and then, how will you synchronize the data in hdfs that is imported by sqoop?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)