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 |
Explain how indexing is done in hdfs?
What do you mean by the High Availability of a NameNode in Hadoop HDFS?
Can you change the block size of hdfs files?
What is the optimal block size in HDFS?
How does hdfs get a good throughput?
Explain how indexing in hdfs is done?
Describe HDFS Federation?
What are the main hdfs-site.xml properties?
Suppose there is file of size 514 mb stored in hdfs (hadoop 2.x) using default block size configuration and default replication factor. Then, how many blocks will be created in total and what will be the size of each block?
How can one copy a file into HDFS with a different block size to that of existing block size configuration?
What is a difference between an input split and hdfs block?
Since the data is replicated thrice in hdfs, does it mean that any calculation done on one node will also be replicated on the other two?
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)