10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Peers,
I was in process of building a script that connects to salesforce using jdbc and pull the data using spark and process in hive table. During this process I have encountered a problem where and variable assigned with hadoop command that list files in Azure Data lake is not parsing the... (2 Replies)
Discussion started by: jg355187
2 Replies
2. Shell Programming and Scripting
I have a CSV file with hdfs directories, hive tables and hbase tables.
1. first column - hdfs directories
2. second column - hive tables
3. third column - hbase tables
I have to check the csv file and look for the first column and delete the hdfs directory from the hdfs path, now... (2 Replies)
Discussion started by: shivamayam
2 Replies
3. UNIX for Beginners Questions & Answers
Hi,
I am unable to change the permissions for a directory in HDFS.
from what i understand acl's supersede all other permissions. even if a directory is not owned by me, but there is an acl for me with rwx then i must be able to change the permissions of that directory.
Please find the... (8 Replies)
Discussion started by: desind
8 Replies
4. UNIX for Beginners Questions & Answers
I am learning Hadoop. As a part of that, Hdfs - Hadoop distributed file system has commands similar to unix where we can create,copy,move files from unix/linux file system to HDFS.
My question is
1) how two file systems (unix and hdfs) can coexist on thr same partition..
2)What if block... (1 Reply)
Discussion started by: Narendra Eliset
1 Replies
5. UNIX for Advanced & Expert Users
I am learning Hadoop. As a part of that, Hdfs - Hadoop distributed file system has commands similar to unix where we can create,copy,move files from unix/linux file system to HDFS.
My question is
1) how two file systems (unix and hdfs) can coexist on thr same partition..
2)What if block used... (0 Replies)
Discussion started by: Narendra Eliset
0 Replies
6. Shell Programming and Scripting
Hi All ,
I am facing one issue here...I have a huge file in hadoop file system.Some disk space issues are thr ,thatswhy I want to copy 1st 100 records from hdfs to local unix.I tried below command but it is no working .Its giving error like cat: Unable to write to output stream.if any one can... (2 Replies)
Discussion started by: STCET22
2 Replies
7. Shell Programming and Scripting
Hi All ,
I am very new to unix script.I am aware of unix commands but never put together in unix script level.If any one can suggest me technical guidance in the below scenario that will highly beneficial.
Data have been already migrated from mainframe to Hadoop file system(HDFS).HDFS server... (15 Replies)
Discussion started by: STCET22
15 Replies
8. Linux
Hi everyone,
Almost everything is in the title!
Which partitions do you keep?
Which partitions do you reformat, while doing a clean install?
Personaly, I never format /var and /home partitions when I update to latest linux distribution.
It has been working quite ok up to now, but I was... (3 Replies)
Discussion started by: freddie50
3 Replies
9. Shell Programming and Scripting
OK, I am a little new to AIX 5.3 and also to scripting. I have a shell script that I wrote and am having difficulty pushing specific files by the system date. Here is my script:
#!/usr/bin/sh
RSYNC=/usr/local/bin/rsync
SSH=/usr/local/bin/ssh
KEY=<path> somekey.key
RUSER=mike... (4 Replies)
Discussion started by: tfort73
4 Replies
10. Solaris
Dear All,
I am going to examine SA202 but I got SA-202-S10 revision A.1 so it might be out of date.
Who has "Solaris 10 Advanced System Administration(SA-202-S10)" latest revision document? Could you share it ?
Thank you in advance (2 Replies)
Discussion started by: unitipon
2 Replies
SYSTEM(3) BSD Library Functions Manual SYSTEM(3)
NAME
system -- pass a command to the shell
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h>
int
system(const char *string);
DESCRIPTION
The system() function hands the argument string to the command interpreter sh(1). The calling process waits for the shell to finish execut-
ing the command, ignoring SIGINT and SIGQUIT, and blocking SIGCHLD.
If string is a NULL pointer, system() will return non-zero, if the command interpreter is available, or zero if none is available. Other-
wise, system() returns the termination status of the shell in the format specified by waitpid(2).
RETURN VALUES
If a child process cannot be created, or the termination status of the shell cannot be obtained, system() returns -1 and sets errno to indi-
cate the error. If execution of the shell fails, system() returns the termination status for a program that terminates with a call of
exit(127).
SEE ALSO
sh(1), execve(2), waitpid(2), popen(3), shquote(3)
STANDARDS
The system() function conforms to ANSI X3.159-1989 (``ANSI C89'') and IEEE Std 1003.2-1992 (``POSIX.2'').
CAVEATS
Never supply the system() function with a command containing any part of an unsanitized user-supplied string. Shell meta-characters present
will be honored by the sh(1) command interpreter.
BSD
August 2, 2007 BSD