kubernetes ErrImagePull after I manually “docker pull”

When I “helm install stable/hadoop”,it reports this error Failed to pull image “danisla/hadoop:2.9.0″: rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) so, I mannually “docker pull danisla/hadoop:2.9.0”. But it didn’t work. The imagePullPolicy is IfNotPresent

Details

RODBC::sqlQuery with temporary tables gives empty character vector though query works in SSMS and smaller queries work with same connection

I am trying to extract a dataframe from the results of an SQL query. I am using RODBC for this due to compatibility issues between PCs when using odbc and DBI. The connection is specified as such: my_server=”servername” my_db = “databasename” connect_rodbc <- RODBC::odbcDriverConnect(paste0(“DRIVER={SQL Server}; server=”,my_server,”; database=”,my_db,”;trusted_connection=true”)) All but one of the queries in my…

Details

Create a grid of plots with holoviews/hvplot and set the max number of columns

I’d like to plot several data into a grid using holoviews/hvplot, based on one dimension, which contains several unique data points. Considering this example: import seaborn as sns import hvplot.pandas iris = sns.load_dataset(‘iris’) plot = iris.hvplot.scatter(x=”sepal_length”, y=”sepal_width”, col=”species”) hvplot.show(plot) The above code creates several plots, based on the species part of the iris data set,…

Details

SQL view query “subquery returned more than 1 value” issue

I have been using a query for a view which is also used for SSRS reporting without any problem for more than 2 years running it every month. This is the query: SELECT DISTINCT Code= D.LocalityCode, [District Name]=D.LocalityName, Status=UPPER(D.Status), [Company No]=F.CompanyNumber, [CompanyB No]=F.CompanyBNumber, [Incorp date]=case when F.DateIncorp = ‘1900-01-01 00:00:00.000’ Then NULL else F.DateIncorp end,…

Details