Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that an NFS server contains a file /a/b and that an NFS client mounts the NFS servers root directory in the location /x, so

  1. Assume that an NFS server contains a file /a/b and that an NFS client mounts

    the NFS servers root directory in the location /x, so that the client can now name the file as /x/a/b. Further assume that this is the only client and that the

    client executes the following two commands:

    chdir /x/a rm b The REMOVE message from the client to the server gets through, and the server removes the file. Unfortunately, the response from the server to the client is lost and the client resends the message to remove the (now non-existent) file. The server receives the resent message. What happens next depends on the server implementation. Which of the following are correct statements?

    A. If the server maintains an in-memory reply cache in which it records all operations it previously executed, and there are no server failures, the server will return OK. B. If the server maintains an in-memory reply cache but the server has failed, restarted, and its reply cache is empty, both of the following responses are possible: the server may return file not found or OK.

    C. If the server is stateless, it will return file not found. D. Because REMOVE is an idempotent operation, any server implementation will return OK.

  2. Do little bit of research on Apache Spark. What is it and how is it different from MapReduce? Compare their pros and cons.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions