You have a file personal_data.txt in the HDFS directory with 100 records. You want to see only the first 5 records from the employee.txt file. How will you do this?
No Answer is Posted For this Question
Be the First to Post Answer
What are the relation operations in Pig? Explain any two with examples?
Explain pigstorage function?
What is the logical plan in pig architecture?
What are all stats classes in the org.apache.pig.tools.pigstats package?
why should we use 'filters' in pig scripts?
How should 'load' keyword is useful in pig scripts?
What are the different Relational Operators available in pig language?
What is Pig Storage?
What does FOREACH do?
What is a tuple?
What are the different pig data types?
What are the basic steps to writing a UDF Function in Pig?
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)