# US 2016/0366224 A1 · Dynamic node group allocation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0366224 A1
- Document ID: US20160366224A1
- Status: Published application
- Kind: A1
- Application number: 14/740,050
- Filed: 2015-06-15
- Published: 2016-12-15
- Earliest claimed: 2015-06-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Krishna K. Bonagiri; Eric A. Jacobson; Yong Li; Ron E. Liu; Xiaoyan Pu
- Web page: https://patentgrep.com/patent/US20160366224A1

## CPC

- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 16/182: Distributed file systems
- H04L 47/762: triggered by the network
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are techniques for improving data locality for parallel applications running in a big data distributed file system with a dynamic node group. In response to a consumer job starting to read one or more files in a big data distributed file system having multiple nodes, node group information for the one or more files to be read is retrieved, wherein the node group information identifies nodes from the multiple nodes on which a producer job wrote the one or more files, and the consumer job is assigned to the nodes identified by the node group information to allow for local reading of the one or more files by the consumer job.

## Claims

### Claim 1

A method, comprising:
in response to a consumer job starting to read one or more files in a big data distributed file system having multiple nodes,
retrieving node group information for the one or more files to be read, wherein the node group information identifies nodes from the multiple nodes on which a producer job wrote the one or more files; and
assigning the consumer job to the nodes identified by the node group information to allow for local reading of the one or more files by the consumer job.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to retrieving the node group information,
requesting logical resources;
dynamically generating a configuration file for the consumer job; and
executing the consumer job with the configuration file identifying the nodes on which the consumer job is to run.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
in response to determining that logical resources cannot be allocated in the nodes identified by the node group information, attempting to allocate logical resources in nodes close to the nodes identified by the node group information.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
storing a full path file name along with the node group information in a table.

### Claim 5 (depends on 1)

The method of claim 1, wherein software is provided as a service in a cloud environment.

### Claim 6

A computer system, comprising:
one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and
program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform:
in response to a consumer job starting to read one or more files in a big data distributed file system having multiple nodes,
retrieving node group information for the one or more files to be read, wherein the node group information identifies nodes from the multiple nodes on which a producer job wrote the one or more files; and
assigning the consumer job to the nodes identified by the node group information to allow for local reading of the one or more files by the consumer job.

### Claim 7 (depends on 6)

The computer system of claim 6, wherein the operations further comprise:
in response to retrieving the node group information,
requesting logical resources;
dynamically generating a configuration file for the consumer job; and
executing the consumer job with the configuration file identifying the nodes on which the consumer job is to run.

### Claim 8 (depends on 6)

The computer system of claim 6, wherein the operations further comprise:
in response to determining that logical resources cannot be allocated in the nodes identified by the node group information, attempting to allocate logical resources in nodes close to the nodes identified by the node group information.

### Claim 9 (depends on 6)

The computer system of claim 6, wherein the operations further comprise:
storing a full path file name along with the node group information in a table.

### Claim 10 (depends on 6)

The computer system of claim 6, wherein a Software as a Service (SaaS) is configured to perform the system operations.

### Claim 11

A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform:
in response to a consumer job starting to read one or more files in a big data distributed file system having multiple nodes,
retrieving node group information for the one or more files to be read, wherein the node group information identifies nodes from the multiple nodes on which a producer job wrote the one or more files; and
assigning the consumer job to the nodes identified by the node group information to allow for local reading of the one or more files by the consumer job.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the program code is executable by at the least one processor to perform:
in response to retrieving the node group information,
requesting logical resources;
dynamically generating a configuration file for the consumer job; and
executing the consumer job with the configuration file identifying the nodes on which the consumer job is to run.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the program code is executable by at the least one processor to perform:
in response to determining that logical resources cannot be allocated in the nodes identified by the node group information, attempting to allocate logical resources in nodes close to the nodes identified by the node group information.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein the program code is executable by at the least one processor to perform:
storing a full path file name along with the node group information in a table.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein a Software as a Service (SaaS) is configured to perform the computer program product operations.
