Member since
09-15-2015
294
Posts
764
Kudos Received
81
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2216 | 07-27-2017 04:12 PM | |
| 5615 | 06-29-2017 10:50 PM | |
| 2721 | 06-21-2017 06:29 PM | |
| 3298 | 06-20-2017 06:22 PM | |
| 2912 | 06-16-2017 06:46 PM |
09-05-2023
12:53 AM
In CDP 7.1.8 you cant set access time parameter dfs.access.time.precision to zero, it doesnt accept this value while updating the configuration.
... View more
09-28-2022
06:59 AM
The script in the accepted solution was not working for me, so I modified it: #!/bin/bash
usage="Usage: dir_diff.sh [path] [-gt|-lt] [days]"
if (( $# < 3 ))
then
echo $usage
exit 1
fi
now=$(date +%s)
hdfs dfs -ls $1 | grep -v "^d" | grep -v '^Found ' | while read f; do
dir_date=`echo $f | awk '{print $6}'`
difference=$(( ( $now - $(date -d "$dir_date" +%s) ) / (24 * 60 * 60 ) ))
if [ $difference $2 $3 ]; then
echo $f
# hdfs dfs -ls `echo $f| awk '{ print $8 }'`;
fi
done
... View more
03-22-2022
09:09 PM
@simran_k format your namenode by using below command: $ bin/hdfs namenode -format
... View more
07-22-2020
04:37 AM
please can you provide me the doc about how to create LDAP auth for user and password nifi
... View more
12-05-2019
11:06 PM
Do I need to restart the services.I added the below property but no luck. dfs.namenode.acls.enabled=true
... View more
12-21-2017
08:52 AM
@bkosaraju. Your explanations makes sense. Thanks for clarifying! My understanding about threshold was different. Robert
... View more
07-27-2017
04:12 PM
5 Kudos
@ashutosh bajpai-Sorry to hear that your experience was not good. I would recommend for answers specific to your particular exam, please send email to certification@hortonworks.com
... View more
06-29-2017
10:50 PM
12 Kudos
@Saurab Dahal - As in the other answers the change in hdfs-site.xml will only affect the newly created files with the new replication factor. If you want to change replication factor for already existing files. You can run the hdfs cli commands like below: hdfs dfs -setrep -w 1 /myfile
hdfs dfs -setrep -w 1 /mydir
Hope this helps !
... View more
06-23-2017
06:12 PM
1 Kudo
@suyash soni Not that I am aware of. You can try running this hive query on beeline and/or Ambari Hive view and see if it works for you. If it works there and not via Zeppelin, then its a potential bug.
... View more
06-16-2017
08:04 PM
5 Kudos
Found the reason. I was following an older version which has the schema registered with name postfix ":v", it apparently is not needed any more. So after register the schema again with name as the kafka topic, everything works fine.
... View more