1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Assoli18 [71]
3 years ago
11

Write a Pig script and run it in local mode on this data to find out the top 10 states according to the land area. Since you wan

t to execute the script in local mode, do not save your answer in HDFS but in local file system (your cluster home directory). Include the source code and the output file in the submission. The land area of the top 10 states are in range of 15*10^11 and 25*10^10.
Engineering
1 answer:
ELEN [110]3 years ago
3 0

Explanation:

Apache Pig script execution modes

Local mode: In 'local mode', you can run the pig script on the local file system. In this case, you don't need to store the data in the Hadoop HDFS file system, instead you can work with the data stored in the local file system.

MapReduce mode: In 'MapReduce mode', the data must be stored in the HDFS file system and you can process the data with the help of pig script.

Apache Pig Script in MapReduce mode

Let's say our task is to read data from a data file and display the required contents in the terminal as output.

The sample data file contains the following data:

Txt information file - Apache Pig Script - Edureka

Save the text file with the name 'information.txt'

The sample data file contains five First Name, Last Name, Mobile Number, City, and Profession columns separated by the tab key. Our task is to read the contents of this HDFS file and display all the columns of these records.

To process this data using Pig, this file must be present in Apache Hadoop HDFS.

Command: hadoop fs –copyFromLocal /home/edureka/information.txt / edureka

You might be interested in
The variation of the pressure of a fluid with density at constant temperature is known as the _____.
qaws [65]

The variation of the pressure of a fluid with density at constant temperature is known as the coefficient of compressibility.

<h3>What is a compressor?</h3>

A compressor can be defined as a mechanical device that is designed and developed to provide power to refrigerators, air conditioners, and other heating or cooling mechanical devices (engines), especially by increasing the pressure on air or other applicable gases.

In an isothermal process, the coefficient of compressibility is also known as isothermal compressibility or compressibility and it refers to a measure of the variation of the pressure and relative volume of a fluid with density at constant temperature.

Read more on coefficient of compressibility here: brainly.com/question/25237713

#SPJ1

7 0
2 years ago
On Beverly's last project, the team identified only a few lessons learned. Which approach to lessons learned
Afina-wow [57]

Option C (making lessons learned a regular part of meetings) is the correct approach.

  • As nothing more than a general rule, typically construction companies only plan lessons that have been learned exercises or initiatives towards the end of a particular endeavor or segment.
  • As almost a result of the team knowing, valuable lessons are intended to increase the comprehensive implementation of quality management practices as well as deadlines.

Aside from this, none of the choices are viable methods to learning lessons or gaining knowledge from the past. As a result, the methodology outlined above is the appropriate one.

Learn more about project teamwork here:

brainly.com/question/14279121

7 0
3 years ago
C programming fundamentals for everyone​
densk [106]

Answer:I am so sorry but here are no questions, thanks for the points

Explanation:Have a nice day

6 0
3 years ago
"Water is flowing in a metal pipe. The pipe OD (outside diameter) is 61 cm. The pipe length is 120 m. The pipe wall thickness is
Katarina [22]

Answer:

Total wight =640.7927 KN

Explanation:

Given that

do= 61 cm

L =120

t= 0.9 cm

That is why inner diameter of the pipe

di= 61 - 2 x 0.9 cm

di=59.2 cm

Water density ,ρ = 1 kg/L = 1000 kg/m³

Weight of the pipe ,wt = 2500 N/m

wt = 2500 x 120 N = 300,000 N

The wight of the water

wt ' = ρ V g

wt'=1000\times \dfrac{\pi}{4}\times (0.61^2-0.0592^2)\times 9.81\times 120 N

wt'=340792.47 N

That is why total wight

Total wight = wt + wt'

Total wight =300,000+ 340792.47 N

Total wight =640,792.47 N

Total wight =640.7927 KN

7 0
4 years ago
The condensed Q formula may be used for operations in which the friction loss can be determined for:
yan [13]

The condensed Q formula may be used for operations in which the friction loss can be determined for a: 3, 4, or 5 inch hose.

<h3>What is a firehose friction loss?</h3>

A firehose friction loss can be defined as a measure of the effect of the resistance of water against the inner side of a firehose, which typically results in a pressure drop at the terminal end.

Generally, some of the factors that affect the resistance or friction in a firehose include:

  • Length of hose.
  • Age of hose.
  • Water flow (gpm)
  • Water turbulence
  • Gravity

Mathematically, the firehose friction loss can be calculated by using this formula:

FL = C × (Q/100)² × L/100.

Read more on friction loss here: brainly.com/question/17305262

#SPJ1

3 0
2 years ago
Other questions:
  • A rectification column is fed 100 kg mol/h of a mixture of 50 mol % benzene and 50 mol % toluene at 101.32 kPa abs pressure. The
    5·1 answer
  • A viscous fluid flows in a 0.10-m-diameter pipe such that its velocity measured 0.012 m away from the pipe wall is 0.8 m/s. If t
    14·1 answer
  • When should you exercise extreme caution around power lines?
    6·1 answer
  • 5.16 A power cycle operating between hot and cold reservoirs at 500 K and 300 K, respectively, receives 1000 kJ by heat transfer
    11·1 answer
  • In an oscillating LC circuit, L ! 25.0 mH and C ! 7.80 mF. At time t 0 the current is 9.20 mA, the charge on the capacitor is 3.
    8·1 answer
  • Ammonia enters the expansion valve of a refrigeration system a temperature of 24oC and pressure of10 bar and exits at 1 bar. If
    12·1 answer
  • Where is a machinist most likely to work?
    14·2 answers
  • How many GT2RS cars were made in 2019
    7·2 answers
  • What level of wildfire risk do people living in Boulder have?
    9·1 answer
  • Using data in Appendix A ,calculate the number of atoms in 1 tonne of iron
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!