Tag - lite-log

lite-log hadoop hdfs

Copy Files from Hadoop HDFS to Local

100   0   about 6 months ago

Copy file from HDFS to local Use the following command: hadoop fs [-copyToLocal [-f] [-p] [-ignoreCrc] [-crc] <src> ... <localdst>] For example, copy a file from /hdfs-file.txt in HDFS to local /tmp/ using the following command: ...

View detail
lite-log hadoop

Hadoop on Windows - UNHEALTHY Data Nodes Fix

100   0   about 6 months ago

Solution to fix the issue If you have been running Hadoop on Windows machines, you may encounter issues about unhealthy data nodes. Usually this will happen if there is no enough disk space in your local drive. For example, if I start the HDFS and YARN demons under the context...

View detail
lite-log hadoop hdfs

Hadoop datanode issue and resolution - ‘Incompatible clusterIDs’

360   0   about 6 months ago

Issue After finishing installation Hadoop 3.0.0 in my Windows: Install Hadoop 3.0.0 in Windows (Single Node) , I got the following error after I formated the name node several ti...

View detail
lite-log

HTTPS is now enabled in this website

38   0   about 6 months ago

To provide better security, Kontext is now fully HTTPS enabled. You can view the SSL certificate in your browser: ...

View detail
python lite-log spark pyspark

Debug PySpark Code in Visual Studio Code

1,072   0   about 6 months ago

The page summarizes the steps required to run and debug PySpark (Spark for Python) in Visual Studio Code. Install Python and pip Install Python from the official website: https://...

View detail
lite-log hadoop sqoop

Password Security Solution for Sqoop

79   0   about 8 months ago

In Sqoop, there are multiple approaches to pass in passwords for RDBMS. Options Option 1 - clear password through --password argument sqoop [subcommand] --username user --password pwd This is the weakest approach as password is exposed directly...

View detail
dotnet core lite-log

Set AttachDbFilename as Relative Path in .NET Core

1,652   0   about 2 years ago

.NET Framework, you can use |DataDirectory| to configure connection string when connecting to SQL Server database file via attach mode: AttachDbFilename=|DataDirectory|\dbname.mdf In .NET Core, you cannot directly set SQL Server Express connec...

View detail
dotnet core lite-log

Instantiate a Service in ConfigureServices Method in .NET Core

134   0   about 2 years ago

.NET Core is built in with dependency injection. Usually method ConfigureServices in Startup class is used to register services in the container. The signature of the method looks like the following: public void ConfigureServices(IServiceC...

View detail
.net core lite-log

ASP.NET Core 2.1 Error - 'Cyrillic' is not a supported encoding name

1,306   0   about 2 years ago

After upgrading to ASP.NET Core 2.1 (.NET Core SDK 2.1.301), you may encounter the following error about encoding: System.ArgumentException    HResult=0x80070057    Message='Cyrillic' is not a supported encoding name. For information on defining a custo...

View detail
lite-log power-bi

Data Analysis Expressions to Create Static Tables in PowerBI

187   0   about 2 years ago

DATATABLE StaticTable1 = DATATABLE("IntCol",INTEGER,"StringCol",STRING,{{1,"User1"},{2,"User2"}}) The above expression generates a table with two columns IntCol and StringCol : ...

View detail