Free Oracle 1Z0-449 Exam Braindumps (page: 4)

What is the quickest way to enable the Sentry service?

A. Execute bdacli sentry enable.
B. Use the Mammoth utility during installation.
C. Sentry is enabled by default on the Big Data Appliance.
D. Use the Cloudera Manager.

Answer(s): D
Explanation:
Sentry Setup with Hive.
Before Sentry is setup we have to ensure that Kerberos is enabled in the cluster and users have
specific access to folders and services. Fol ow the below steps to setup Sentry with Kerberos:
QUESTION: 6
You need to place the results of a PigLatin script into an HDFS output directory.
What is the correct syntax in Apache Pig?

A. update hdfs set D as `./output';
B. store D into `./output';
C. place D into `./output';
D. write D as `./output';
E. hdfsstore D into `./output';

Answer(s): B
Explanation:
Use the STORE operator to run (execute) Pig Latin statements and save (persist) results to the
file system. Use STORE for production scripts and batch mode processing.
Syntax: STORE alias INTO 'directory' [USING function];
Example: In this example data is stored using PigStorage and the asterisk character (*) as the
field delimiter.
A = LOAD 'data' AS (a1:int, a2:int, a3:int);
DUMP A;
(1, 2, 3)
(4, 2, 1)
(8, 3, 4)
(4, 3, 3)
(7, 2, 5)
(8, 4, 3)
STORE A INTO 'myoutput' USING PigStorage ('*');
CAT myoutput;
1*2*3
4*2*1
8*3*4
4*3*3
7*2*5
8*4*3
Reference:
https://pig.apache.org/docs/r0.13.0/basic.html#store

https://Free-Braindumps.com

Viewing page 4 of 36
Viewing questions 13 - 16 out of 72 questions



Post your Comments and Discuss Oracle 1Z0-449 exam prep with other Community members:

1Z0-449 Exam Discussions & Posts