tagged [apache]
What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?
What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API? I'm studying an application developed by our company. It uses the Apache HttpClient library. In the source c...
- Modified
- 19 Aug at 22:32
How to create a DataFrame from a text file in Spark
How to create a DataFrame from a text file in Spark I have a text file on HDFS and I want to convert it to a Data Frame in Spark. I am using the Spark Context to load the file and then try to generate...
- Modified
- 7 Jan at 17:34
Overwrite specific partitions in spark dataframe write method
Overwrite specific partitions in spark dataframe write method I want to overwrite specific partitions instead of all in spark. I am trying the following command: where df is dataframe having the incre...
- Modified
- 15 Sep at 10:3
Select columns in PySpark dataframe
Select columns in PySpark dataframe I am looking for a way to select columns of my dataframe in PySpark. For the first row, I know I can use `df.first()`, but not sure about columns given that they do...
- Modified
- 15 Feb at 14:34
How can I get an HTTP response body as a string?
How can I get an HTTP response body as a string? I know there used to be a way to get it with Apache Commons as documented here: [http://hc.apache.org/httpclient-legacy/apidocs/org/apache/commons/http...
- Modified
- 18 Feb at 08:51
Join two data frames, select all columns from one and some columns from the other
Join two data frames, select all columns from one and some columns from the other Let's say I have a spark data frame `df1`, with several columns (among which the column `id`) and data frame `df2` wit...
- Modified
- 25 Dec at 16:27
Best way to log POST data in Apache?
Best way to log POST data in Apache? Imagine you have a site API that accepts data in the form of GET requests with parameters, or as POST requests (say, with standard url-encoded, &-separated POST da...
- Modified
- 13 Jun at 04:17
How to change the default encoding to UTF-8 for Apache
How to change the default encoding to UTF-8 for Apache I am using a hosting company and it will list the files in a directory if the file `index.html` is not there. It uses [ISO 8859-1](https://en.wik...
- Modified
- 15 Aug at 12:41
Filtering a spark dataframe based on date
Filtering a spark dataframe based on date I have a dataframe of I want to select dates before a certain period. I have tried the following with no luck ``` data.filter(data("date")
- Modified
- 1 Dec at 11:25
How do I add a new column to a Spark DataFrame (using PySpark)?
How do I add a new column to a Spark DataFrame (using PySpark)? I have a Spark DataFrame (using PySpark 1.5.1) and would like to add a new column. I've tried the following without any success: ``` typ...
- Modified
- 5 Jan at 01:51
Fetching distinct values on a column using Spark DataFrame
Fetching distinct values on a column using Spark DataFrame Using Spark 1.6.1 version I need to fetch distinct values on a column and then perform some specific transformation on top of it. The column ...
- Modified
- 15 Sep at 10:11
How to read Excel cell having Date with Apache POI?
How to read Excel cell having Date with Apache POI? I'm using Apache POI 3.6, I want to read an excel file which has a date like this `8/23/1991`. But it takes the numeric value type and returns the v...
- Modified
- 2 Dec at 17:27
How to find count of Null and Nan values for each column in a PySpark dataframe efficiently?
How to find count of Null and Nan values for each column in a PySpark dataframe efficiently? dataframe with count of nan/null for e
- Modified
- 20 Apr at 11:3
Filter Pyspark dataframe column with None value
Filter Pyspark dataframe column with None value I'm trying to filter a PySpark dataframe that has `None` as a row value: and I can filter correctly with an string value: ``` df[d
- Modified
- 5 Jan at 06:30
How to convert Apache .htaccess files into Lighttpd rules?
How to convert Apache .htaccess files into Lighttpd rules? It's big problem to convert mod_rewrite rules to lighttpd format
multiple conditions for filter in spark data frames
multiple conditions for filter in spark data frames I have a data frame with four fields. one of the field name is Status and i am trying to use a OR condition in .filter for a dataframe . I tried bel...
- Modified
- 15 Sep at 10:8
web site Deployment
web site Deployment i am developing Mobile web site. I can deploy it in IIS server . Can i deploy the same in Apache server? Thanks!!
- Modified
- 7 Apr at 11:35
Remove gridheader rollover in flex
Remove gridheader rollover in flex Is there a way to remove the grid header rollover in flex while still maintaining a sortable header?
- Modified
- 5 May at 21:53
Where does PHP's error log reside in XAMPP?
Where does PHP's error log reside in XAMPP? I've been using XAMPP for Windows. Where does PHP's error log reside in XAMPP?
Location for session files in Apache/PHP
Location for session files in Apache/PHP What is the default location of session files on an installation of Apache/PHP on Ubuntu 10.10?
Apache Prefork vs Worker MPM
Apache Prefork vs Worker MPM Looking at the Apache config file, I see Prefork and Worker MPM defined. What is the difference and which one is Apache using?
- Modified
- 14 Dec at 17:38
Increasing the maximum post size
Increasing the maximum post size There is a lot of data being submitted no file uploads and the `$_SERVER['CONTENT_LENGTH']` is being exceeded. Can this be increased?
Send to c# Array Objects from Flex
Send to c# Array Objects from Flex I need to send to c# an array of objects from Flex. Anybody know how can I do this?
- Modified
- 11 Nov at 10:0
MS Expression, Adobe Flex, or OpenLaszlo?
MS Expression, Adobe Flex, or OpenLaszlo? Anyone have any comparative thoughts on these three technologies? Each addresses a different VM, but how do they compare in capabilities?
- Modified
- 26 Aug at 01:11
Version of Apache installed on a Debian machine
Version of Apache installed on a Debian machine How can I check which version of Apache is installed on a Debian machine? Is there a command for doing this?